diff --git a/src/test_utils.rs b/src/test_utils.rs index 40867e5850..87e96e16d6 100644 --- a/src/test_utils.rs +++ b/src/test_utils.rs @@ -1377,9 +1377,9 @@ impl InnerLogSink { } } if is_error { - panic!("Expected an error log.") + panic!("Expected an error log {pat:?}.") } else { - panic!("Expected a warning log.") + panic!("Expected a warning log {pat:?}.") } }