Skip to main content
Module

x/velociraptor/dev_deps.ts>assertMatch

The npm-style script runner for Deno
Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/velociraptor@1.5.0/dev_deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string