summaryrefslogtreecommitdiff
path: root/fs/path/relative_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/path/relative_test.ts')
-rw-r--r--fs/path/relative_test.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/path/relative_test.ts b/fs/path/relative_test.ts
index 87e308b43..7a76c4578 100644
--- a/fs/path/relative_test.ts
+++ b/fs/path/relative_test.ts
@@ -1,7 +1,8 @@
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
-import { test, assertEqual } from "../../testing/mod.ts";
+import { test } from "../../testing/mod.ts";
+import { assertEq } from "../../testing/asserts.ts";
import * as path from "./mod.ts";
const relativeTests = {
@@ -59,7 +60,7 @@ test(function relative() {
relativeTests.posix.forEach(function(p) {
const expected = p[2];
const actual = path.posix.relative(p[0], p[1]);
- assertEqual(actual, expected);
+ assertEq(actual, expected);
});
});
@@ -67,6 +68,6 @@ test(function relativeWin32() {
relativeTests.win32.forEach(function(p) {
const expected = p[2];
const actual = path.win32.relative(p[0], p[1]);
- assertEqual(actual, expected);
+ assertEq(actual, expected);
});
});