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 /testing/pretty.ts | |
| parent | d29957ad17956016c35a04f5f1f98565e58e8a2e (diff) | |
Testing refactor (denoland/deno_std#240)
Original: https://github.com/denoland/deno_std/commit/e1d5c00279132aa639030c6c6d9b4e308bd4775e
Diffstat (limited to 'testing/pretty.ts')
| -rw-r--r-- | testing/pretty.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/pretty.ts b/testing/pretty.ts index 05fd86b6f..fb2ae122e 100644 --- a/testing/pretty.ts +++ b/testing/pretty.ts @@ -1,6 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { equal } from "./mod.ts"; +import { equal } from "./asserts.ts"; import { red, green, white, gray, bold } from "../colors/mod.ts"; import diff, { DiffType, DiffResult } from "./diff.ts"; import { format } from "./format.ts"; @@ -55,7 +55,7 @@ function buildMessage(diffResult: ReadonlyArray<DiffResult<string>>): string[] { return messages; } -export function assertEqual( +export function assertEq( actual: unknown, expected: unknown, msg?: string |
