summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-12-17 22:01:47 +0800
committerGitHub <noreply@github.com>2020-12-17 15:01:47 +0100
commit55dc467b419b8e5897b1c832b04d63e383253d84 (patch)
treed4bbbe9637eed4e367eb2359735b9ad62b0181cb /cli/tests/integration_tests.rs
parent825293737004cbf94638458f77fa13fd1b07aef2 (diff)
test(cli): ensure await all on stdout does not deadlock (#8802)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 2f23e2dee..302e808fa 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2105,6 +2105,11 @@ fn deno_test_no_color() {
assert!(out.contains("test result: FAILED. 1 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out"));
}
+itest!(stdout_write_all {
+ args: "run --quiet stdout_write_all.ts",
+ output: "stdout_write_all.out",
+});
+
itest!(_001_hello {
args: "run --reload 001_hello.js",
output: "001_hello.js.out",