diff options
| author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-31 18:43:51 -0800 | 
|---|---|---|
| committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-31 18:43:51 -0800 | 
| commit | b292d25b3f29407e4a6c3c093bd15027da6d8d73 (patch) | |
| tree | ac6df4b042710df9c7f30ed3637c11dcd4278d07 /rust/tests | |
| parent | 7b7e271decb2fbd5858aaae03616aa0da57a9429 (diff) | |
| download | fatcat-b292d25b3f29407e4a6c3c093bd15027da6d8d73.tar.gz fatcat-b292d25b3f29407e4a6c3c093bd15027da6d8d73.zip | |
rust fmt
Diffstat (limited to 'rust/tests')
| -rw-r--r-- | rust/tests/test_api_server_http.rs | 8 | ||||
| -rw-r--r-- | rust/tests/test_old_python_tests.rs | 5 | 
2 files changed, 3 insertions, 10 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, diff --git a/rust/tests/test_old_python_tests.rs b/rust/tests/test_old_python_tests.rs index afeff55e..4fc1ffaf 100644 --- a/rust/tests/test_old_python_tests.rs +++ b/rust/tests/test_old_python_tests.rs @@ -199,10 +199,7 @@ fn test_merge_works() {      let mut eg = Editgroup::new();      eg.editor_id = Some(admin_id); -    let resp = client -        .create_editgroup(eg) -        .wait() -        .unwrap(); +    let resp = client.create_editgroup(eg).wait().unwrap();      let editgroup_id = match resp {          CreateEditgroupResponse::SuccessfullyCreated(eg) => eg.editgroup_id.unwrap(),          _ => unreachable!(), | 
