Skip to main content
Module

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

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

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

Parameters

actual: string
expected: RegExp
optional
msg: string