Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-04-10 15:23:06 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-04-10 15:56:50 -0400
commit2c29c295fef5e8512e881e90bc68530ad5bbee2d (patch)
treefd5c9db949ded4e03a443788ba0dcb4ad48d628a /progtest/src
parent42d192af792f5890a6d707caee5cb3c910a5eb9b (diff)
downloadtame-2c29c295fef5e8512e881e90bc68530ad5bbee2d.tar.gz
tame-2c29c295fef5e8512e881e90bc68530ad5bbee2d.tar.bz2
tame-2c29c295fef5e8512e881e90bc68530ad5bbee2d.zip
progtest: ConsoleTestReporter: Correct number of inds on first linev2.14.1
Diffstat (limited to 'progtest/src')
-rw-r--r--progtest/src/reporter/ConsoleTestReporter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/progtest/src/reporter/ConsoleTestReporter.js b/progtest/src/reporter/ConsoleTestReporter.js
index a6648e3..c87bcc1 100644
--- a/progtest/src/reporter/ConsoleTestReporter.js
+++ b/progtest/src/reporter/ConsoleTestReporter.js
@@ -138,8 +138,8 @@ module.exports = Class( 'ConsoleTestReporter',
*/
'virtual protected createResultProgress'( { i }, total )
{
- return ( i % 50 === 49 )
- ? ` ${i+1}/${total}\n`
+ return ( i % 50 === 0 )
+ ? ` ${i}/${total}\n`
: '';
},