MCPcopy Index your code
hub / github.com/nodejs/node / assertRegExpTest

Function assertRegExpTest

deps/v8/test/mjsunit/regexp.js:476–478  ·  view source on GitHub ↗
(re, input, test)

Source from the content-addressed store, hash-verified

474
475// Test boundary-checks.
476function assertRegExpTest(re, input, test) {
477 assertEquals(test, re.test(input), "test:" + re + ":" + input);
478}
479
480assertRegExpTest(/b\b/, "b", true);
481assertRegExpTest(/b\b$/, "b", true);

Callers 1

regexp.jsFile · 0.85

Calls 2

assertEqualsFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…