summaryrefslogtreecommitdiff
path: root/cli/tests/integration/task_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-05-23 12:35:02 -0400
committerGitHub <noreply@github.com>2022-05-23 12:35:02 -0400
commitb65d5024ef5e61301a6c8c4380bc20f4949ac60d (patch)
treef159f6cced28a3094704e9ee2475bceba470bdc3 /cli/tests/integration/task_tests.rs
parent69be1f3cf7d11bb6b440f5d1e65988ed7c76f53d (diff)
fix: read raw stdin to prevent buffering (regression) (#14704)
Diffstat (limited to 'cli/tests/integration/task_tests.rs')
-rw-r--r--cli/tests/integration/task_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/task_tests.rs b/cli/tests/integration/task_tests.rs
index 16370dabb..e2adc85d9 100644
--- a/cli/tests/integration/task_tests.rs
+++ b/cli/tests/integration/task_tests.rs
@@ -85,3 +85,9 @@ itest!(task_deno_exe_no_env {
envs: vec![("NO_COLOR".to_string(), "1".to_string())],
env_clear: true,
});
+
+itest!(task_piped_stdin {
+ args_vec: vec!["task", "-q", "--config", "task/deno.json", "piped"],
+ output: "task/task_piped_stdin.out",
+ envs: vec![("NO_COLOR".to_string(), "1".to_string())],
+});