diff options
| author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-09-11 18:39:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-11 17:39:47 +0200 |
| commit | 1463a4ad5805b1b29f33b695ce19d4c42b671790 (patch) | |
| tree | d625cadfd283e41da78b65998ad10036619ba7bb /tests/specs/task/piped_stdin | |
| parent | c64aa50c0e4219ef623a6ec3b939ac10a4568563 (diff) | |
chore: deprecate task itests (#25558)
This PR is part of #22907
Diffstat (limited to 'tests/specs/task/piped_stdin')
| -rw-r--r-- | tests/specs/task/piped_stdin/__test__.jsonc | 7 | ||||
| -rw-r--r-- | tests/specs/task/piped_stdin/deno.json | 5 | ||||
| -rw-r--r-- | tests/specs/task/piped_stdin/task_piped_stdin.out | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/specs/task/piped_stdin/__test__.jsonc b/tests/specs/task/piped_stdin/__test__.jsonc new file mode 100644 index 000000000..73220430a --- /dev/null +++ b/tests/specs/task/piped_stdin/__test__.jsonc @@ -0,0 +1,7 @@ +{ + "args": "task -q --config deno.json piped", + "output": "task_piped_stdin.out", + "envs": { + "NO_COLOR": "1" + } +} diff --git a/tests/specs/task/piped_stdin/deno.json b/tests/specs/task/piped_stdin/deno.json new file mode 100644 index 000000000..bb3d1cd29 --- /dev/null +++ b/tests/specs/task/piped_stdin/deno.json @@ -0,0 +1,5 @@ +{ + "tasks": { + "piped": "echo 12345 | (deno eval 'const b = new Uint8Array(1);Deno.stdin.readSync(b);console.log(b)' && deno eval 'const b = new Uint8Array(1);Deno.stdin.readSync(b);console.log(b)')" + } +} diff --git a/tests/specs/task/piped_stdin/task_piped_stdin.out b/tests/specs/task/piped_stdin/task_piped_stdin.out new file mode 100644 index 000000000..a0d636f15 --- /dev/null +++ b/tests/specs/task/piped_stdin/task_piped_stdin.out @@ -0,0 +1,2 @@ +Uint8Array(1) [ 49 ] +Uint8Array(1) [ 50 ] |
