Skip to main content
Module

x/statsd/testDeps.ts>asserts.assertMatch

A simple StatsD client for Deno
Latest
function asserts.assertMatch
import { asserts } from "https://deno.land/x/statsd@0.5.0/testDeps.ts";
const { assertMatch } = asserts;

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

Parameters

actual: string
expected: RegExp
optional
msg: string