1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00

test should succeed in windows check of pipeline

This commit is contained in:
HasanAlrimawi 2024-11-03 15:30:07 +02:00
parent 8af1f23296
commit da104b7e74

View file

@ -1720,13 +1720,11 @@ async fn watch_directory_with_excluded_file_in_same_directory() {
let (_stdout_lines, mut stderr_lines) = child_lines(&mut child); let (_stdout_lines, mut stderr_lines) = child_lines(&mut child);
wait_contains("Watching paths", &mut stderr_lines).await; wait_contains("Watching paths", &mut stderr_lines).await;
file_to_exclude.write("console.log(\"This file's content has been changed, but it's excluded from watch.\")"); file_to_exclude.write("console.log(\"This file's content has been changed, but it's excluded from watch.\")");
// assert the newly written and remove the beneath it wait_contains(
assert_eq!("console.log(\"This file's content has been changed, but it's excluded from watch.\")".to_string(), file_to_exclude.read_to_string()); "Following file content changed, but excluded from watch:",
// wait_contains( &mut stderr_lines,
// "Following file content changed, but excluded from watch: ", )
// &mut stderr_lines, .await;
// )
// .await;
check_alive_then_kill(child); check_alive_then_kill(child);
} }