diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2019-03-06 19:42:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-06 19:42:24 -0500 |
| commit | caa383a5835c167bf6657120ad3c1c5009670785 (patch) | |
| tree | 2f350928e23e472278b9c3ebd798f13169b6d581 /fs/path/join_test.ts | |
| parent | e36edfdb3fd4709358a5f499f13cfe3d53c2b4f7 (diff) | |
Rename assertEq to assertEquals (denoland/deno_std#242)
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
Original: https://github.com/denoland/deno_std/commit/4cf39d4a1420b8153cd78d03d03ef843607ae506
Diffstat (limited to 'fs/path/join_test.ts')
| -rw-r--r-- | fs/path/join_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/path/join_test.ts b/fs/path/join_test.ts index acf5a8096..d82a1b471 100644 --- a/fs/path/join_test.ts +++ b/fs/path/join_test.ts @@ -1,5 +1,5 @@ import { test } from "../../testing/mod.ts"; -import { assertEq } from "../../testing/asserts.ts"; +import { assertEquals } from "../../testing/asserts.ts"; import * as path from "./mod.ts"; const backslashRE = /\\/g; @@ -109,17 +109,17 @@ const windowsJoinTests = [ test(function join() { joinTests.forEach(function(p) { const actual = path.posix.join.apply(null, p[0]); - assertEq(actual, p[1]); + assertEquals(actual, p[1]); }); }); test(function joinWin32() { joinTests.forEach(function(p) { const actual = path.win32.join.apply(null, p[0]).replace(backslashRE, "/"); - assertEq(actual, p[1]); + assertEquals(actual, p[1]); }); windowsJoinTests.forEach(function(p) { const actual = path.win32.join.apply(null, p[0]); - assertEq(actual, p[1]); + assertEquals(actual, p[1]); }); }); |
