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

Function assertEqual

test/fixtures/snapshot/typescript.js:2724–2729  ·  view source on GitHub ↗
(a, b, msg, msg2, stackCrawlMark)

Source from the content-addressed store, hash-verified

2722 }
2723 Debug.assert = assert;
2724 function assertEqual(a, b, msg, msg2, stackCrawlMark) {
2725 if (a !== b) {
2726 var message = msg ? msg2 ? "".concat(msg, " ").concat(msg2) : msg : "";
2727 fail("Expected ".concat(a, " === ").concat(b, ". ").concat(message), stackCrawlMark || assertEqual);
2728 }
2729 }
2730 Debug.assertEqual = assertEqual;
2731 function assertLessThan(a, b, msg, stackCrawlMark) {
2732 if (a >= b) {

Callers

nothing calls this directly

Calls 2

concatMethod · 0.80
failFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…