summaryrefslogtreecommitdiff
path: root/cli/tests/unit/unit_tests.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-10 00:29:12 +0800
committerGitHub <noreply@github.com>2020-06-09 18:29:12 +0200
commit1e0808d501cf9adea65e7cacd123ea4fea06a13a (patch)
tree5322e873b5d1f7be7c39f7e8f637c333c51a38e3 /cli/tests/unit/unit_tests.ts
parent314f666897e63ab9f982726724a7e4af1ca798a8 (diff)
fix: Deno.readSync on stdin (#6126)
Currently sync operations on stdin are failing because tokio::Stdin cannot be converted to a std::File. This commit replaces tokio::stdin with a raw file descriptor wrapped in a std::fs::File which can be converted to a tokio::File and back again making the synchronous version of op_read actually work.
Diffstat (limited to 'cli/tests/unit/unit_tests.ts')
-rw-r--r--cli/tests/unit/unit_tests.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/unit/unit_tests.ts b/cli/tests/unit/unit_tests.ts
index 515da9f4a..7891ea418 100644
--- a/cli/tests/unit/unit_tests.ts
+++ b/cli/tests/unit/unit_tests.ts
@@ -52,6 +52,7 @@ import "./request_test.ts";
import "./resources_test.ts";
import "./signal_test.ts";
import "./stat_test.ts";
+import "./stdio_test.ts";
import "./streams_internal_test.ts";
import "./streams_piping_test.ts";
import "./streams_transform_test.ts";