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

Function testLongAssertionMessage

test/parallel/test-assert.js:353–359  ·  view source on GitHub ↗
(actual, expected)

Source from the content-addressed store, hash-verified

351 }
352
353 function testLongAssertionMessage(actual, expected) {
354 testAssertionMessage(actual, expected, 'Expected values to be strictly equal:\n' +
355 '+ actual - expected\n' +
356 '\n' +
357 `+ ${expected}\n` +
358 "- ''\n");
359 }
360
361 function testShortAssertionMessage(actual, expected) {
362 testAssertionMessage(actual, expected, strictEqualMessageStart + `\n${inspect(actual)} !== ''\n`);

Callers 1

test-assert.jsFile · 0.85

Calls 1

testAssertionMessageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…