From 7124204c3ec2cb6f4a22cbe765cc060528a9f34e Mon Sep 17 00:00:00 2001 From: yann300 Date: Sun, 15 Mar 2020 22:12:09 +0100 Subject: [PATCH] Use inner property of the CompilationError type Merge only after https://github.com/ethereum/remix/pull/1434 is released --- src/app/tabs/test-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 68e0fdaad1..784bfd39ce 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -122,7 +122,7 @@ module.exports = class TestTab extends ViewPlugin { updateFinalResult (_errors, result, filename) { this.testsSummary.hidden = false if (_errors) { - _errors.forEach((err) => this.renderer.error(err.formattedMessage || err.message, this.testsSummary, {type: err.severity})) + _errors.errors.forEach((err) => this.renderer.error(err.formattedMessage || err.message, this.testsSummary, {type: err.severity})) return } this.testsSummary.appendChild(yo`
${filename}
`)