diff --git a/player/tests/test.rs b/player/tests/test.rs index 6789259dc..6ca36750e 100644 --- a/player/tests/test.rs +++ b/player/tests/test.rs @@ -144,7 +144,10 @@ impl Test<'_> { }; if &expected_data[..] != contents { - panic!("Test expectation is not met!"); + panic!( + "Test expectation is not met!\nBuffer content was:\n{:?}\nbut expected:\n{:?}", + contents, expected_data + ); } }