summaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server_http.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-31 18:43:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-31 18:43:51 -0800
commitb292d25b3f29407e4a6c3c093bd15027da6d8d73 (patch)
treeac6df4b042710df9c7f30ed3637c11dcd4278d07 /rust/tests/test_api_server_http.rs
parent7b7e271decb2fbd5858aaae03616aa0da57a9429 (diff)
downloadfatcat-b292d25b3f29407e4a6c3c093bd15027da6d8d73.tar.gz
fatcat-b292d25b3f29407e4a6c3c093bd15027da6d8d73.zip
rust fmt
Diffstat (limited to 'rust/tests/test_api_server_http.rs')
-rw-r--r--rust/tests/test_api_server_http.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs
index d975fe6e..5405c9cb 100644
--- a/rust/tests/test_api_server_http.rs
+++ b/rust/tests/test_api_server_http.rs
@@ -1553,9 +1553,7 @@ fn test_create_editgroup() {
// We're authenticated, so don't need to supply editor_id
check_http_response(
request::post(
- &format!(
- "http://localhost:9411/v0/editgroup",
- ),
+ &format!("http://localhost:9411/v0/editgroup",),
headers.clone(),
"{}",
&router,
@@ -1567,9 +1565,7 @@ fn test_create_editgroup() {
// But can if we want to
check_http_response(
request::post(
- &format!(
- "http://localhost:9411/v0/editgroup",
- ),
+ &format!("http://localhost:9411/v0/editgroup",),
headers.clone(),
r#"{"editor_id": "aaaaaaaaaaaabkvkaaaaaaaaae"}"#,
&router,