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

Method finish

deps/v8/test/mjsunit/tools/tickprocessor.mjs:465–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

463 }
464
465 finish() {
466 print = this.oldPrint;
467 if (this.diffs.length == 0 && this.unexpectedOut == null) return;
468 console.log("===== actual output: =====");
469 console.log(this.realOut.join('\n'));
470 console.log("===== expected output: =====");
471 if (this.outputFile) {
472 console.log("===== File: " + this.outputFile + " =====");
473 }
474 console.log(this.expectedOut.join('\n'));
475 if (this.diffs.length > 0) {
476 this.diffs.forEach(line => console.log(line))
477 assertEquals([], this.diffs);
478 }
479 assertNull(this.unexpectedOut);
480 }
481}
482
483await (async function testProcessing() {

Callers 1

testExpectationsFunction · 0.95

Calls 4

forEachMethod · 0.65
assertEqualsFunction · 0.50
logMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected