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

Function testShortAssertionMessage

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

Source from the content-addressed store, hash-verified

359 }
360
361 function testShortAssertionMessage(actual, expected) {
362 testAssertionMessage(actual, expected, strictEqualMessageStart + `\n${inspect(actual)} !== ''\n`);
363 }
364
365 testShortAssertionMessage(null, 'null');
366 testShortAssertionMessage(true, 'true');

Callers 1

test-assert.jsFile · 0.85

Calls 2

testAssertionMessageFunction · 0.85
inspectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…