Skip to content

Commit

Permalink
Improve the file watching failure error message (astral-sh#15728)
Browse files Browse the repository at this point in the history
I really misunderstood this in
astral-sh#15664 (comment)
  • Loading branch information
zanieb authored Jan 24, 2025
1 parent 5a9d71a commit fcd0f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/red_knot/tests/file_watching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl TestCase {
#[track_caller]
fn panic_with_formatted_events(events: Vec<ChangeEvent>) -> Vec<ChangeEvent> {
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:?}"))
Expand Down

0 comments on commit fcd0f34

Please sign in to comment.