about summary refs log tree commit diff
path: root/src/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/database')
-rw-r--r--src/database/mod.rs10
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/",