Skip to main content
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/pogo@v0.5.2/example/simple-server/dev-dependencies.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string