diff --git a/crates/red_knot/tests/file_watching.rs b/crates/red_knot/tests/file_watching.rs index 4a86e24cca6b8..eaad5ed0dd87f 100644 --- a/crates/red_knot/tests/file_watching.rs +++ b/crates/red_knot/tests/file_watching.rs @@ -47,7 +47,7 @@ impl TestCase { #[track_caller] fn panic_with_formatted_events(events: Vec) -> Vec { panic!( - "Didn't observe expected change:\n{}", + "Didn't observe the expected event. The following events occurred:\n{}", events .into_iter() .map(|event| format!(" - {event:?}"))