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/globrex_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/globrex_test.ts')
| -rw-r--r-- | fs/globrex_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/globrex_test.ts b/fs/globrex_test.ts index f84f3ac8c..3f645ce9b 100644 --- a/fs/globrex_test.ts +++ b/fs/globrex_test.ts @@ -4,11 +4,11 @@ import * as deno from "deno"; import { test } from "../testing/mod.ts"; -import { assertEq } from "../testing/asserts.ts"; +import { assertEquals } from "../testing/asserts.ts"; import { globrex } from "./globrex.ts"; const isWin = deno.platform.os === "win"; -const t = { equal: assertEq, is: assertEq }; +const t = { equal: assertEquals, is: assertEquals }; function match(glob, strUnix, strWin?, opts = {}) { if (typeof strWin === "object") { |
