mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
Better error output for player test
This commit is contained in:
parent
5e488d4fea
commit
52aee1a037
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user