summaryrefslogtreecommitdiffstats
path: root/rust/tests/test_auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests/test_auth.rs')
-rw-r--r--rust/tests/test_auth.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/tests/test_auth.rs b/rust/tests/test_auth.rs
index 412b67e8..1509bab4 100644
--- a/rust/tests/test_auth.rs
+++ b/rust/tests/test_auth.rs
@@ -18,7 +18,8 @@ fn test_macaroons() {
c.create_token(editor_id, None).unwrap();
// create token w/ expiration
- c.create_token(editor_id, Some(chrono::Duration::days(1))).unwrap();
+ c.create_token(editor_id, Some(chrono::Duration::days(1)))
+ .unwrap();
}
#[test]