From 998fb62c0094c8f3721aeeb0b26747b0df1954c3 Mon Sep 17 00:00:00 2001 From: Nikolay Karadzhov Date: Mon, 20 Nov 2023 20:08:35 +0200 Subject: [PATCH] feat(assert): improve assertion message of `assertNotStrictEquals()` (#3820) --- assert/assert_not_strict_equals.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assert/assert_not_strict_equals.ts b/assert/assert_not_strict_equals.ts index 8676d6a005d4..2423a07766f6 100644 --- a/assert/assert_not_strict_equals.ts +++ b/assert/assert_not_strict_equals.ts @@ -23,7 +23,7 @@ export function assertNotStrictEquals( const msgSuffix = msg ? `: ${msg}` : "."; throw new AssertionError( - `Expected "actual" to be strictly unequal to: ${ + `Expected "actual" to not be strictly equal to: ${ format(actual) }${msgSuffix}\n`, );