diff options
Diffstat (limited to 'cli/tests/unit_node/testdata/binary_stdio.js')
-rw-r--r-- | cli/tests/unit_node/testdata/binary_stdio.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/tests/unit_node/testdata/binary_stdio.js b/cli/tests/unit_node/testdata/binary_stdio.js deleted file mode 100644 index aa370a933..000000000 --- a/cli/tests/unit_node/testdata/binary_stdio.js +++ /dev/null @@ -1,11 +0,0 @@ -const buffer = new Uint8Array(10); -const nread = await Deno.stdin.read(buffer); - -if (nread != 10) { - throw new Error("Too little data read"); -} - -const nwritten = await Deno.stdout.write(buffer); -if (nwritten != 10) { - throw new Error("Too little data written"); -} |