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

x/hex/src/fp/tests/deps.ts>asserts.assertNotMatch

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function asserts.assertNotMatch
import { asserts } from "https://deno.land/x/hex@0.5.15/src/fp/tests/deps.ts";
const { assertNotMatch } = asserts;

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

Parameters

actual: string
expected: RegExp
optional
msg: string