Skip to main content
Module

x/gutenberg/test_deps.ts>assertMatch

📝 Complete, correct, and thoroughly tested string manipulation library.
Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/gutenberg@0.1.5/test_deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string