Skip to main content
Very Popular
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/amqp@v0.21.0/deps_dev.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string