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

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

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

Make an assertion that actual not match RegExp expected. If match then throw.

Parameters

actual: string
expected: RegExp
optional
msg: string