summaryrefslogtreecommitdiff
path: root/tests/integration/watcher_tests.rs
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-09-14 23:30:06 +0200
committerGitHub <noreply@github.com>2024-09-14 23:30:06 +0200
commit597f2d8d4d9b91ee586b9787d6ba52d247e4ff87 (patch)
tree82bfa7272208b81b34e79572f3c9a5bcc6c4658f /tests/integration/watcher_tests.rs
parentaf2d992ecd2b9320072164b6ee295c31a3194406 (diff)
feat: print `Listening on` messages on stderr instead of stdout (#25491)
Fixes https://github.com/denoland/deno/issues/25114 --------- Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com> Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com>
Diffstat (limited to 'tests/integration/watcher_tests.rs')
-rw-r--r--tests/integration/watcher_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/watcher_tests.rs b/tests/integration/watcher_tests.rs
index 2590e79d6..27c59a27d 100644
--- a/tests/integration/watcher_tests.rs
+++ b/tests/integration/watcher_tests.rs
@@ -1359,16 +1359,16 @@ async fn test_watch_serve() {
.piped_output()
.spawn()
.unwrap();
- let (mut stdout_lines, mut stderr_lines) = child_lines(&mut child);
+ let (mut _stdout_lines, mut stderr_lines) = child_lines(&mut child);
- wait_contains("Listening on", &mut stdout_lines).await;
+ wait_contains("Listening on", &mut stderr_lines).await;
// Note that we start serving very quickly, so we specifically want to wait for this message
wait_contains(r#"Watching paths: [""#, &mut stderr_lines).await;
file_to_watch.write(file_content);
wait_contains("serving", &mut stderr_lines).await;
- wait_contains("Listening on", &mut stdout_lines).await;
+ wait_contains("Listening on", &mut stderr_lines).await;
check_alive_then_kill(child);
}