diff options
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/args.rs b/src/args.rs index 4484943..78340dd 100644 --- a/src/args.rs +++ b/src/args.rs @@ -184,7 +184,7 @@ pub fn parse_args() -> crate::MiniserveConfig { #[cfg(test)] mod tests { use super::*; - use rstest::rstest_parametrize; + use rstest::rstest; use pretty_assertions::assert_eq; /// Helper function that creates a `RequiredAuth` structure @@ -205,7 +205,7 @@ mod tests { } } - #[rstest_parametrize( + #[rstest( auth_string, username, password, encrypt, case("username:password", "username", "password", "plain"), case("username:sha256:abcd", "username", "abcd", "sha256"), @@ -218,7 +218,7 @@ mod tests { ); } - #[rstest_parametrize( + #[rstest( auth_string, err_msg, case( "foo", |