Commit 6eb322e 1 parent d8da94f commit 6eb322e Copy full SHA for 6eb322e
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2089,7 +2089,7 @@ processing:
2089
2089
match redis {
2090
2090
RedisConfig :: SingleWithOpts { server, options } => {
2091
2091
assert_eq ! ( options. max_connections, 42 ) ;
2092
- assert_eq ! ( options. test_on_check_out, false ) ;
2092
+ assert ! ( ! options. test_on_check_out) ;
2093
2093
assert_eq ! ( server, "redis://127.0.0.1:6379" ) ;
2094
2094
}
2095
2095
e => panic ! ( "Expected RedisConfig::SingleWithOpts but got {:?}" , e) ,
@@ -2116,7 +2116,7 @@ processing:
2116
2116
RedisConfig :: SingleWithOpts { options, .. } => {
2117
2117
// check if all the defaults are correctly set
2118
2118
assert_eq ! ( options. max_connections, 24 ) ;
2119
- assert_eq ! ( options. test_on_check_out, false ) ;
2119
+ assert ! ( ! options. test_on_check_out) ;
2120
2120
}
2121
2121
e => panic ! ( "Expected RedisConfig::SingleWithOpts but got {:?}" , e) ,
2122
2122
}
You can’t perform that action at this time.
0 commit comments