File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,7 @@ fn test_auth_parameter_memory() {
5454 #[ cfg( feature = "auth" ) ]
5555 {
5656 let auth_config = memory_auth:: MemoryAuthServerConfig :: get_auth_config ( ) ;
57- assert ! ( matches!(
58- auth_config. storage,
59- StorageConfig :: Memory
60- ) ) ;
57+ assert ! ( matches!( auth_config. storage, StorageConfig :: Memory ) ) ;
6158 assert ! ( auth_config. enabled) ;
6259 }
6360}
@@ -86,10 +83,7 @@ fn test_auth_parameter_file() {
8683 #[ cfg( feature = "auth" ) ]
8784 {
8885 let auth_config = file_auth:: FileAuthServerConfig :: get_auth_config ( ) ;
89- assert ! ( matches!(
90- auth_config. storage,
91- StorageConfig :: File { .. }
92- ) ) ;
86+ assert ! ( matches!( auth_config. storage, StorageConfig :: File { .. } ) ) ;
9387 assert ! ( auth_config. enabled) ;
9488 }
9589}
@@ -104,10 +98,7 @@ fn test_auth_parameter_default() {
10498 #[ cfg( feature = "auth" ) ]
10599 {
106100 let auth_config = default_auth:: DefaultAuthServerConfig :: get_auth_config ( ) ;
107- assert ! ( matches!(
108- auth_config. storage,
109- StorageConfig :: File { .. }
110- ) ) ;
101+ assert ! ( matches!( auth_config. storage, StorageConfig :: File { .. } ) ) ;
111102 assert ! ( auth_config. enabled) ;
112103 }
113104}
You can’t perform that action at this time.
0 commit comments