diff options
Diffstat (limited to 'cli/tests/cat.ts')
-rw-r--r-- | cli/tests/cat.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/cat.ts b/cli/tests/cat.ts index a5b38fccd..0cfd99d22 100644 --- a/cli/tests/cat.ts +++ b/cli/tests/cat.ts @@ -1,8 +1,9 @@ +import { copy } from "../../test_util/std/io/util.ts"; async function main(): Promise<void> { for (let i = 1; i < Deno.args.length; i++) { const filename = Deno.args[i]; const file = await Deno.open(filename); - await Deno.copy(file, Deno.stdout); + await copy(file, Deno.stdout); } } |