()
| 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 | |
| 483 | await (async function testProcessing() { |
no test coverage detected