diff options
Diffstat (limited to 'fs/path/resolve_test.ts')
| -rw-r--r-- | fs/path/resolve_test.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/path/resolve_test.ts b/fs/path/resolve_test.ts index 2259dd025..7243dc030 100644 --- a/fs/path/resolve_test.ts +++ b/fs/path/resolve_test.ts @@ -2,7 +2,8 @@ // Ported from https://github.com/browserify/path-browserify/ const { cwd } = Deno; -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 windowsTests = @@ -37,13 +38,13 @@ const posixTests = test(function resolve() { posixTests.forEach(function(p) { const actual = path.posix.resolve.apply(null, p[0]); - assertEqual(actual, p[1]); + assertEq(actual, p[1]); }); }); test(function resolveWin32() { windowsTests.forEach(function(p) { const actual = path.win32.resolve.apply(null, p[0]); - assertEqual(actual, p[1]); + assertEq(actual, p[1]); }); }); |
