summaryrefslogtreecommitdiff
path: root/std/fs/testdata/empty_dir_sync.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/testdata/empty_dir_sync.ts')
-rw-r--r--std/fs/testdata/empty_dir_sync.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fs/testdata/empty_dir_sync.ts b/std/fs/testdata/empty_dir_sync.ts
index 3c0eb9031..0bef81e91 100644
--- a/std/fs/testdata/empty_dir_sync.ts
+++ b/std/fs/testdata/empty_dir_sync.ts
@@ -1,7 +1,7 @@
import { emptyDirSync } from "../empty_dir.ts";
try {
- emptyDirSync(Deno.args[1])
+ emptyDirSync(Deno.args[0])
Deno.stdout.write(new TextEncoder().encode("success"))
} catch (err) {
Deno.stdout.write(new TextEncoder().encode(err.message))