function assertMatch(actual, expected, msg) {
  if (!expected.test(actual)) {
    if (!msg) {
      msg = `actual: "${actual}" expected to match: "${expected}"`;
    }
    throw new AssertionError(msg);
  }
}
/**
 * Make an assertion that `actual` match RegExp `expected`. If not
 * then thrown
 */
Make an assertion that `actual` match RegExp `expected`. If not
then thrown
Make an assertion that ` actual ` match RegExp ` expected ` . If not then thrown
function assertMatch(actual, expected, msg) {
  if (!expected.test(actual)) {
    if (!msg) {
      msg = `actual: "${actual}" expected to match: "${expected}"`;
    }
    throw new AssertionError(msg);
  }
}
function assertMatch ( actual , expected , msg ) { if ( ! expected . test ( actual ) ) { if ( ! msg ) { msg = ` ${ actual } ${ expected } ` ; } throw new AssertionError ( msg ) ; } }
Make an assertion that `actual` match RegExp `expected`.
Make an assertion that ` actual ` match RegExp ` expected ` .