diff options
author | Luca Casonato <hello@lcas.dev> | 2022-09-28 15:03:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 15:03:56 +0200 |
commit | 70bc0eb72b01249b4c1ccc92b51bf5c442b3edc9 (patch) | |
tree | dbf7839f3db529e7d156426343a8a03963436967 /cli/tests/unit | |
parent | fa9e7aab6d49f241a4eb30cc0e261f8ceb64af2f (diff) |
feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/unit')
-rw-r--r-- | cli/tests/unit/tty_color_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/tty_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/tty_color_test.ts b/cli/tests/unit/tty_color_test.ts index feb4dd470..7662d039b 100644 --- a/cli/tests/unit/tty_color_test.ts +++ b/cli/tests/unit/tty_color_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; -// Note tests for Deno.setRaw is in integration tests. +// Note tests for Deno.stdin.setRaw is in integration tests. Deno.test( { permissions: { run: true, read: true } }, diff --git a/cli/tests/unit/tty_test.ts b/cli/tests/unit/tty_test.ts index e50443aab..8787db3e1 100644 --- a/cli/tests/unit/tty_test.ts +++ b/cli/tests/unit/tty_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertThrows } from "./test_util.ts"; -// Note tests for Deno.setRaw is in integration tests. +// Note tests for Deno.stdin.setRaw is in integration tests. Deno.test({ permissions: { read: true } }, function consoleSizeFile() { const file = Deno.openSync("cli/tests/testdata/assets/hello.txt"); |