mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
Fixed test
This commit is contained in:
parent
630d5e63fe
commit
8dc211d47c
1 changed files with 1 additions and 0 deletions
|
@ -944,6 +944,7 @@ async fn test_watch_basic() {
|
||||||
// Confirm that restarting occurs when a new file is updated
|
// Confirm that restarting occurs when a new file is updated
|
||||||
another_test.write("Deno.test('another one', () => 3 + 3); Deno.test('another another one', () => 4 + 4)");
|
another_test.write("Deno.test('another one', () => 3 + 3); Deno.test('another another one', () => 4 + 4)");
|
||||||
assert_contains!(next_line(&mut stderr_lines).await.unwrap(), "Restarting");
|
assert_contains!(next_line(&mut stderr_lines).await.unwrap(), "Restarting");
|
||||||
|
next_line(&mut stdout_lines).await;
|
||||||
assert_contains!(
|
assert_contains!(
|
||||||
next_line(&mut stdout_lines).await.unwrap(),
|
next_line(&mut stdout_lines).await.unwrap(),
|
||||||
"running 2 tests"
|
"running 2 tests"
|
||||||
|
|
Loading…
Add table
Reference in a new issue