summaryrefslogtreecommitdiff
path: root/js/dir_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/dir_test.ts')
-rw-r--r--js/dir_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/dir_test.ts b/js/dir_test.ts
index d2ddb137f..bb6b053fd 100644
--- a/js/dir_test.ts
+++ b/js/dir_test.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { test, testPerm, assert, assertEqual } from "./test_util.ts";
+import { test, testPerm, assert, assertEquals } from "./test_util.ts";
test(function dirCwdNotNull() {
assert(Deno.cwd() != null);
@@ -11,9 +11,9 @@ testPerm({ write: true }, function dirCwdChdirSuccess() {
Deno.chdir(path);
const current = Deno.cwd();
if (Deno.build.os === "mac") {
- assertEqual(current, "/private" + path);
+ assertEquals(current, "/private" + path);
} else {
- assertEqual(current, path);
+ assertEquals(current, path);
}
Deno.chdir(initialdir);
});