Skip to main content
Module

x/ahh/test_deps.ts>assertMatch

Opinionated idiomatic features for TypeScript.
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/ahh@v0.13.0/test_deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string