aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zotapi.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-01-03 23:53:24 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-01-03 23:53:24 +0100
commit862a3b67d701b3c124e1b682db0cee5fc5b711da (patch)
tree25a52d53467f29c24e59e41fe1052ff1dd9cef28 /tests/zotapi.rs
parentfa6296ce5f0b0309c86acf8dabe536f53cce0387 (diff)
downloadrust-zotapi-862a3b67d701b3c124e1b682db0cee5fc5b711da.tar.gz
rust-zotapi-862a3b67d701b3c124e1b682db0cee5fc5b711da.tar.bz2
rust-zotapi-862a3b67d701b3c124e1b682db0cee5fc5b711da.zip
Cargo fmt
Diffstat (limited to 'tests/zotapi.rs')
-rw-r--r--tests/zotapi.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/zotapi.rs b/tests/zotapi.rs
index e22ba30..1621af1 100644
--- a/tests/zotapi.rs
+++ b/tests/zotapi.rs
@@ -74,9 +74,7 @@ fn create_new_post() {
.with_body("{}")
.create();
- let _res = zotapi::item()
- .body("This is a test")
- .create(&client());
+ let _res = zotapi::item().body("This is a test").create(&client());
m.assert();
}