File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,11 @@ mod test {
269
269
. unwrap ( )
270
270
. get ( 0 ) ;
271
271
272
- assert_eq ! ( & actual_os, & row_os) ;
272
+ assert_eq ! (
273
+ & actual_os, & row_os,
274
+ "expected and actual FromSql differ for {}" ,
275
+ input
276
+ ) ;
273
277
}
274
278
275
279
// to SQL
@@ -279,7 +283,11 @@ mod test {
279
283
. await
280
284
. unwrap ( )
281
285
. get ( 0 ) ;
282
- assert_eq ! ( & actual_os, & row_os) ;
286
+ assert_eq ! (
287
+ & actual_os, & row_os,
288
+ "expected and actual ToSql differ for {}" ,
289
+ input
290
+ ) ;
283
291
}
284
292
}
285
293
}
@@ -289,7 +297,6 @@ mod test {
289
297
for ( input, ( expect_os, expect_json) ) in TEST_CASES . iter ( ) {
290
298
let actual_os = OperatingSystem :: map_os ( input) ;
291
299
292
- // let input_json = Value::String(input.clone());
293
300
assert_eq ! (
294
301
expect_os, & actual_os,
295
302
"expected and actual differ for {}" ,
You can’t perform that action at this time.
0 commit comments