File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
packages/axum-health-check-api-server/tests/server Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,8 @@ mod api {
119119
120120 assert_eq ! ( details. binding, binding) ;
121121 assert ! (
122- details
123- . result
124- . as_ref( )
125- . is_err_and( |e| e. contains( "error sending request for url" ) ) ,
126- "Expected to contain, \" error sending request for url\" , but have message \" {:?}\" ." ,
122+ details. result. as_ref( ) . is_err_and( |e| e. contains( "error sending request" ) ) ,
123+ "Expected to contain, \" error sending request\" , but have message \" {:?}\" ." ,
127124 details. result
128125 ) ;
129126 assert_eq ! (
@@ -226,11 +223,8 @@ mod http {
226223
227224 assert_eq ! ( details. binding, binding) ;
228225 assert ! (
229- details
230- . result
231- . as_ref( )
232- . is_err_and( |e| e. contains( "error sending request for url" ) ) ,
233- "Expected to contain, \" error sending request for url\" , but have message \" {:?}\" ." ,
226+ details. result. as_ref( ) . is_err_and( |e| e. contains( "error sending request" ) ) ,
227+ "Expected to contain, \" error sending request\" , but have message \" {:?}\" ." ,
234228 details. result
235229 ) ;
236230 assert_eq ! (
You can’t perform that action at this time.
0 commit comments