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, 3 insertions, 1 deletions
diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts
index 55fdb52dc..1c1e6f34d 100644
--- a/std/fs/empty_dir_test.ts
+++ b/std/fs/empty_dir_test.ts
@@ -217,12 +217,13 @@ 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 b8c968a02..8e9381ed2 100644
--- a/std/fs/exists_test.ts
+++ b/std/fs/exists_test.ts
@@ -124,6 +124,7 @@ 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({