Skip to main content
Module

x/cargo_inspect/schemas/deps_tests.ts>assertMatch

Cargo! Battery included web / http / application framework
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/cargo_inspect@0.1.43/schemas/deps_tests.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string