From c54a87e3e3689f082b855cbc8f9458265d0af4b9 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 6 May 2019 16:59:41 -0400 Subject: [PATCH] progtest (HtmlConsoleOutput): Correct indexing Caused by previous commit. --- progtest/src/reporter/HtmlConsoleOutput.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/progtest/src/reporter/HtmlConsoleOutput.js b/progtest/src/reporter/HtmlConsoleOutput.js index 55b4d84b..61e1d632 100644 --- a/progtest/src/reporter/HtmlConsoleOutput.js +++ b/progtest/src/reporter/HtmlConsoleOutput.js @@ -68,7 +68,7 @@ module.exports = Trait( 'HtmlConsoleOutput' ) const ind = this.__super( result ); const title = `[#${i}] ` + this._titleify( desc ); - return `${ind}`; + return `${ind}`; }, @@ -135,8 +135,8 @@ module.exports = Trait( 'HtmlConsoleOutput' ) */ 'override protected createFailureHeading'( i, desc ) { - return `` + - `[#${i+1}] ${desc}
`; + return `` + + `[#${i}] ${desc}
`; },