summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/cat.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/cat.ts b/cli/tests/cat.ts
index 756238be6..bd6b5af06 100644
--- a/cli/tests/cat.ts
+++ b/cli/tests/cat.ts
@@ -4,7 +4,7 @@ async function main(): Promise<void> {
for (let i = 1; i < args.length; i++) {
const filename = args[i];
const file = await open(filename);
- await copy(stdout, file);
+ await copy(file, stdout);
}
}