diff --git a/tests/integration/watcher_tests.rs b/tests/integration/watcher_tests.rs index 04645922ad..42e4924a84 100644 --- a/tests/integration/watcher_tests.rs +++ b/tests/integration/watcher_tests.rs @@ -485,6 +485,7 @@ async fn fmt_check_all_files_on_each_change_test() { wait_contains("error", &mut stderr_lines).await, "Found 2 not formatted files in 2 files" ); + wait_contains("Fmt failed.", &mut stderr_lines).await; // Change content of the file again to be badly formatted badly_formatted_original.copy(&badly_formatted_1);