diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-03-06 22:39:50 +0100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-06 16:39:50 -0500 |
| commit | e36edfdb3fd4709358a5f499f13cfe3d53c2b4f7 (patch) | |
| tree | 1baef3f876a5e75288c3ec9056cdb93dd6b5787f /fs/path/resolve_test.ts | |
| parent | d29957ad17956016c35a04f5f1f98565e58e8a2e (diff) | |
Testing refactor (denoland/deno_std#240)
Original: https://github.com/denoland/deno_std/commit/e1d5c00279132aa639030c6c6d9b4e308bd4775e
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]); }); }); |
