summaryrefslogtreecommitdiff
path: root/js/make_temp_dir_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/make_temp_dir_test.ts')
-rw-r--r--js/make_temp_dir_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/make_temp_dir_test.ts b/js/make_temp_dir_test.ts
index 082c1e65d..551d58c26 100644
--- a/js/make_temp_dir_test.ts
+++ b/js/make_temp_dir_test.ts
@@ -6,7 +6,7 @@ testPerm({ write: true }, function makeTempDirSyncSuccess() {
const dir1 = deno.makeTempDirSync({ prefix: "hello", suffix: "world" });
const dir2 = deno.makeTempDirSync({ prefix: "hello", suffix: "world" });
// Check that both dirs are different.
- assert(dir1 != dir2);
+ assert(dir1 !== dir2);
for (const dir of [dir1, dir2]) {
// Check that the prefix and suffix are applied.
const lastPart = dir.replace(/^.*[\\\/]/, "");
@@ -44,7 +44,7 @@ testPerm({ write: true }, async function makeTempDirSuccess() {
const dir1 = await deno.makeTempDir({ prefix: "hello", suffix: "world" });
const dir2 = await deno.makeTempDir({ prefix: "hello", suffix: "world" });
// Check that both dirs are different.
- assert(dir1 != dir2);
+ assert(dir1 !== dir2);
for (const dir of [dir1, dir2]) {
// Check that the prefix and suffix are applied.
const lastPart = dir.replace(/^.*[\\\/]/, "");