From e36edfdb3fd4709358a5f499f13cfe3d53c2b4f7 Mon Sep 17 00:00:00 2001 From: Vincent LE GOFF Date: Wed, 6 Mar 2019 22:39:50 +0100 Subject: Testing refactor (denoland/deno_std#240) Original: https://github.com/denoland/deno_std/commit/e1d5c00279132aa639030c6c6d9b4e308bd4775e --- fs/path/resolve_test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fs/path/resolve_test.ts') 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]); }); }); -- cgit v1.2.3