function assertNotStrictEquals
assertNotStrictEquals<T>(): voidDeprecated
(will be removed after 1.0.0) Import from https://deno.land/std/assert/assert_not_strict_equals.ts instead.
Make an assertion that actual and expected are not strictly equal.
If the values are strictly equal then throw.
Examples
Example 1
Example 1
import { assertNotStrictEquals } from "@std/testing/asserts"; assertNotStrictEquals(1, 1); // Doesn't throw assertNotStrictEquals(1, 2); // Throws
Type Parameters
TParameters
Return Type
void