summaryrefslogtreecommitdiff
path: root/js/rename_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/rename_test.ts')
-rw-r--r--js/rename_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/rename_test.ts b/js/rename_test.ts
index d82f9f2c7..99bca67dc 100644
--- a/js/rename_test.ts
+++ b/js/rename_test.ts
@@ -3,7 +3,7 @@ import { testPerm, assert, assertEqual } from "./test_util.ts";
import * as deno from "deno";
testPerm({ write: true }, function renameSyncSuccess() {
- const testDir = deno.makeTempDirSync() + "/test-rename-sync";
+ const testDir = deno.makeTempDirSync();
const oldpath = testDir + "/oldpath";
const newpath = testDir + "/newpath";
deno.mkdirSync(oldpath);
@@ -38,7 +38,7 @@ testPerm({ write: false }, function renameSyncPerm() {
});
testPerm({ write: true }, async function renameSuccess() {
- const testDir = deno.makeTempDirSync() + "/test-rename";
+ const testDir = deno.makeTempDirSync();
const oldpath = testDir + "/oldpath";
const newpath = testDir + "/newpath";
deno.mkdirSync(oldpath);