diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-06-06 11:43:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 23:43:00 -0400 |
commit | ed5aedc6b4a1d72208649afd8793e288d94021b1 (patch) | |
tree | f5039c94c2a4d03182a5b97dbc0471a1b3123eb1 /std/examples/tests/welcome_test.ts | |
parent | c137b11abfb946ef72a5fcb27e11e0b286a33be3 (diff) |
Rename abbreviated assertions in std/testing (#6118)
Diffstat (limited to 'std/examples/tests/welcome_test.ts')
-rw-r--r-- | std/examples/tests/welcome_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/examples/tests/welcome_test.ts b/std/examples/tests/welcome_test.ts index d508773c5..d585211a1 100644 --- a/std/examples/tests/welcome_test.ts +++ b/std/examples/tests/welcome_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/welcome] print a welcome message", async () => { const decoder = new TextDecoder(); @@ -12,7 +12,7 @@ Deno.test("[examples/welcome] print a welcome message", async () => { const output = await process.output(); const actual = decoder.decode(output).trim(); const expected = "Welcome to Deno 🦕"; - assertStrictEq(actual, expected); + assertStrictEquals(actual, expected); } finally { process.close(); } |