File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,12 @@ async fn run_sql_test(
91
91
} else if db_url. starts_with ( "sqlite" ) {
92
92
"sqlite"
93
93
} else {
94
- panic ! ( "Unknown database type in DATABASE_URL: {}" , db_url ) ;
94
+ panic ! ( "Unknown database type in DATABASE_URL: {db_url}" ) ;
95
95
} ;
96
96
97
- if stem. contains ( & format ! ( "_no{}" , db_type ) ) {
97
+ if stem. contains ( & format ! ( "_no{db_type}" ) ) {
98
98
return Ok ( TestResult :: Skipped ( format ! (
99
- "Test skipped for database type: {}" ,
100
- db_type
99
+ "Test skipped for database type: {db_type}"
101
100
) ) ) ;
102
101
}
103
102
@@ -122,7 +121,6 @@ fn assert_test_result(result: anyhow::Result<TestResult>, test_file: &std::path:
122
121
match result {
123
122
Ok ( TestResult :: Skipped ( reason) ) => {
124
123
println ! ( "⏭️ Skipped {}: {}" , test_file. display( ) , reason) ;
125
- return ;
126
124
}
127
125
Ok ( TestResult :: Success ( body) ) => {
128
126
assert_html_response ( & body, test_file) ;
You can’t perform that action at this time.
0 commit comments