Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dnt/lib/test.deps.ts>assertNotStrictEquals

Deno to npm package build tool.
Go to Latest
function assertNotStrictEquals
import { assertNotStrictEquals } from "https://deno.land/x/dnt@0.39.0/lib/test.deps.ts";

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

import { assertNotStrictEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts";

assertNotStrictEquals(1, 1)

Parameters

actual: T
expected: T
optional
msg: string