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

x/router/vendor/https/deno.land/std/testing/asserts.ts>assertNotMatch

A high-performance basic router works anywhere.
Latest
function assertNotMatch
import { assertNotMatch } from "https://deno.land/x/router@v2.0.1/vendor/https/deno.land/std/testing/asserts.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string