diff options
Diffstat (limited to 'std/examples/tests/colors_test.ts')
-rw-r--r-- | std/examples/tests/colors_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/examples/tests/colors_test.ts b/std/examples/tests/colors_test.ts index 90c469c00..1a3e4f418 100644 --- a/std/examples/tests/colors_test.ts +++ b/std/examples/tests/colors_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { assertStrictEq } from "../../testing/asserts.ts"; +import { assertStrictEquals } from "../../testing/asserts.ts"; Deno.test("[examples/colors] print a colored text", async () => { const decoder = new TextDecoder(); @@ -12,7 +12,7 @@ Deno.test("[examples/colors] print a colored text", async () => { const output = await process.output(); const actual = decoder.decode(output).trim(); const expected = "[44m[3m[31m[1mHello world![22m[39m[23m[49m"; - assertStrictEq(actual, expected); + assertStrictEquals(actual, expected); } finally { process.close(); } |