diff options
author | Vika <vika@fireburn.ru> | 2021-07-29 18:14:30 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-07-29 18:14:30 +0300 |
commit | 949a961c19ba994c3f0846e7b54d9a55a94d7b9a (patch) | |
tree | b9d2031e1b08dcebf8f22c6051dea4da6e4f40ab /src/database | |
parent | bd38e2f19b8c2c353ad759c1631b93b0f8eafbb0 (diff) | |
download | kittybox-949a961c19ba994c3f0846e7b54d9a55a94d7b9a.tar.zst |
Appease rustfmt, clippy and cargo check
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/mod.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/database/mod.rs b/src/database/mod.rs index e0e4e7b..27c0025 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -198,7 +198,10 @@ mod tests { let alt_url = post["properties"]["url"][1].as_str().unwrap().to_string(); // Reading and writing - backend.put_post(&post, "https://fireburn.ru/").await.unwrap(); + backend + .put_post(&post, "https://fireburn.ru/") + .await + .unwrap(); if let Ok(Some(returned_post)) = backend.get_post(&key).await { assert!(returned_post.is_object()); assert_eq!( @@ -254,7 +257,10 @@ mod tests { }, "children": [] }); - backend.put_post(&feed, "https://fireburn.ru/").await.unwrap(); + backend + .put_post(&feed, "https://fireburn.ru/") + .await + .unwrap(); let chans = backend .get_channels(&crate::indieauth::User::new( "https://fireburn.ru/", |