summaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:01:13 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:01:13 -0800
commita2cbc5b4d88f3385ebed5b70e8cce19e00e81a8f (patch)
tree024d2f3a7a8a389f1fcf7ba8bbafd3dc192a2890 /rust/tests
parent413968810ce470aded05e0d3519601ae6922c284 (diff)
downloadfatcat-a2cbc5b4d88f3385ebed5b70e8cce19e00e81a8f.tar.gz
fatcat-a2cbc5b4d88f3385ebed5b70e8cce19e00e81a8f.zip
rust fmt
Diffstat (limited to 'rust/tests')
-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]