summaryrefslogtreecommitdiff
path: root/std/fs
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs')
-rw-r--r--std/fs/empty_dir_test.ts3
-rw-r--r--std/fs/exists_test.ts1
2 files changed, 1 insertions, 3 deletions
diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts
index 1c1e6f34d..55fdb52dc 100644
--- a/std/fs/empty_dir_test.ts
+++ b/std/fs/empty_dir_test.ts
@@ -217,13 +217,12 @@ test(async function emptyDirPermission(): Promise<void> {
args.push(
path.join(testdataDir, s.async ? "empty_dir.ts" : "empty_dir_sync.ts")
);
- args.push("--");
args.push("testfolder");
const { stdout } = Deno.run({
stdout: "piped",
cwd: testdataDir,
- args
+ args: args
});
const output = await Deno.readAll(stdout);
diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts
index 8e9381ed2..b8c968a02 100644
--- a/std/fs/exists_test.ts
+++ b/std/fs/exists_test.ts
@@ -124,7 +124,6 @@ test(async function existsPermission(): Promise<void> {
}
args.push(path.join(testdataDir, s.async ? "exists.ts" : "exists_sync.ts"));
- args.push("--");
args.push(s.file);
const { stdout } = Deno.run({