Skip to content

Commit fcd0f34

Browse files
authored
Improve the file watching failure error message (#15728)
I really misunderstood this in #15664 (comment)
1 parent 5a9d71a commit fcd0f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/red_knot/tests/file_watching.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl TestCase {
4747
#[track_caller]
4848
fn panic_with_formatted_events(events: Vec<ChangeEvent>) -> Vec<ChangeEvent> {
4949
panic!(
50-
"Didn't observe expected change:\n{}",
50+
"Didn't observe the expected event. The following events occurred:\n{}",
5151
events
5252
.into_iter()
5353
.map(|event| format!(" - {event:?}"))

0 commit comments

Comments
 (0)