Skip to main content
function testing.assertNotStrictEquals
import { testing } from "https://deno.land/x/swarm_gates@0.0.1/deps.js";
const { assertNotStrictEquals } = testing;

Make an assertion that actual and expected are not strictly equal.
If the values are strictly equal then throw.

assertNotStrictEquals(1, 1)

Parameters

actual: unknown
expected: unknown
optional
msg: string

Parameters

actual: T
expected: T
optional
msg: string