From 2011cdc6f140122735d2ec0b67cf70776588067c Mon Sep 17 00:00:00 2001 From: boastful-squirrel Date: Thu, 2 May 2019 07:23:18 +0200 Subject: Added rustfmt_skip directive on tests --- src/auth.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index faf967c..502c9cb 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -163,6 +163,7 @@ fn build_unauthorized_response( .into_string() } +#[cfg_attr(rustfmt, rustfmt_skip)] #[cfg(test)] mod tests { use super::*; @@ -205,12 +206,7 @@ mod tests { } #[rstest_parametrize( - should_pass, - param_username, - param_password, - required_username, - required_password, - encrypt, + should_pass, param_username, param_password, required_username, required_password, encrypt, case(true, "obi", "hello there", "obi", "hello there", "plain"), case(false, "obi", "hello there", "obi", "hi!", "plain"), case(true, "obi", "hello there", "obi", "hello there", "sha256"), -- cgit v1.2.3