diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-11-24 19:37:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 19:37:02 -0500 |
commit | e6a9588b4375f7ff3f445d13e4cd4b3c334d451c (patch) | |
tree | c5dc71687bb3f38174d287a54d583e1b8c8f219e /cli/tests/integration/task_tests.rs | |
parent | 72dd7ad8075d626f5ec4aedca5f6aaae19c736bb (diff) |
fix(task): output encoding issues on windows (#16794)
Closes #16792
Diffstat (limited to 'cli/tests/integration/task_tests.rs')
-rw-r--r-- | cli/tests/integration/task_tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration/task_tests.rs b/cli/tests/integration/task_tests.rs index 8b8998b26..bc6ddee3b 100644 --- a/cli/tests/integration/task_tests.rs +++ b/cli/tests/integration/task_tests.rs @@ -50,6 +50,14 @@ itest!(task_non_existent { exit_code: 1, }); +#[test] +fn task_emoji() { + // this bug only appears when using a pty/tty + let args = "task --config task/deno.json echo_emoji"; + use test_util::PtyData::*; + test_util::test_pty2(args, vec![Output("Task echo_emoji echo š„\r\nš„")]); +} + itest!(task_boolean_logic { args: "task -q --config task/deno.json boolean_logic", output: "task/task_boolean_logic.out", |