Skip to content

Commit

Permalink
feat(assert) improve assertion message of assertNotStrictEquals()
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaradzhov committed Nov 20, 2023
1 parent 65a4127 commit 040c5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/assert_not_strict_equals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function assertNotStrictEquals<T>(

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`,
);
Expand Down

0 comments on commit 040c5a3

Please sign in to comment.