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/testing/asserts.ts | |
parent | c137b11abfb946ef72a5fcb27e11e0b286a33be3 (diff) |
Rename abbreviated assertions in std/testing (#6118)
Diffstat (limited to 'std/testing/asserts.ts')
-rw-r--r-- | std/testing/asserts.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts index 5f5c3a7c5..5e1b8af69 100644 --- a/std/testing/asserts.ts +++ b/std/testing/asserts.ts @@ -204,7 +204,7 @@ export function assertNotEquals( * Make an assertion that `actual` and `expected` are strictly equal. If * not then throw. */ -export function assertStrictEq( +export function assertStrictEquals( actual: unknown, expected: unknown, msg?: string @@ -250,7 +250,7 @@ export function assertStrictEq( * Make an assertion that actual contains expected. If not * then thrown. */ -export function assertStrContains( +export function assertStringContains( actual: string, expected: string, msg?: string |