Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denoexec/deps.ts>testing.assertNotMatch

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function testing.assertNotMatch
import { testing } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { assertNotMatch } = testing;

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

Parameters

actual: string
expected: RegExp
optional
msg: string