From 165e6c903ef40a958dae6ff59bf2d50085f349b9 Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Wed, 3 Jun 2020 10:29:01 -0400 Subject: Revert to rustfmt defaults. --- tests/test_actix.rs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'tests/test_actix.rs') diff --git a/tests/test_actix.rs b/tests/test_actix.rs index 34969d4..062cf0c 100644 --- a/tests/test_actix.rs +++ b/tests/test_actix.rs @@ -105,10 +105,9 @@ fn test_composite_querystring_extractor() { #[test] fn test_default_qs_config() { futures::executor::block_on(async { - let req = TestRequest::with_uri( - "/test?foo=1&bars%5B%5D=3&limit=100&offset=50&remaining=true", - ) - .to_srv_request(); + let req = + TestRequest::with_uri("/test?foo=1&bars%5B%5D=3&limit=100&offset=50&remaining=true") + .to_srv_request(); let (req, mut pl) = req.into_parts(); let e = QsQuery::::from_request(&req, &mut pl) @@ -124,11 +123,10 @@ fn test_default_qs_config() { #[test] fn test_custom_qs_config() { futures::executor::block_on(async { - let req = TestRequest::with_uri( - "/test?foo=1&bars%5B%5D=3&limit=100&offset=50&remaining=true", - ) - .app_data(QsQueryConfig::default().qs_config(QsConfig::new(5, false))) - .to_srv_request(); + let req = + TestRequest::with_uri("/test?foo=1&bars%5B%5D=3&limit=100&offset=50&remaining=true") + .app_data(QsQueryConfig::default().qs_config(QsConfig::new(5, false))) + .to_srv_request(); let (req, mut pl) = req.into_parts(); -- cgit v1.2.3