Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/merlin/deps.ts>asserts.assertNotMatch

Testing and Benchmarking framework for deno 🧙‍♂️
Latest
function asserts.assertNotMatch
import { asserts } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { assertNotMatch } = asserts;

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

Parameters

actual: string
expected: RegExp
optional
msg: string