Cscott has submitted this change and it was merged.

Change subject: Fixed test stats -- unexpected passing tests output was 
incorrect
......................................................................


Fixed test stats -- unexpected passing tests output was incorrect

Change-Id: I10faa493394f55fa238f38137f9f8fd4e2e36284
---
M js/tests/parserTests.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Cscott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/js/tests/parserTests.js b/js/tests/parserTests.js
index 77d4be5..c8d05bf 100755
--- a/js/tests/parserTests.js
+++ b/js/tests/parserTests.js
@@ -1195,7 +1195,7 @@
                        thisMode = stats.modes[modes[i]];
                        if ( thisMode.passedTests + 
thisMode.passedTestsWhitelisted + thisMode.failedTests > 0 ) {
                                curStr += colorizeCount( thisMode.passedTests + 
stats.passedTestsWhitelisted, 'green' ) + ' passed (';
-                               curStr += colorizeCount( 
stats.passedTestsUnexpected, 'red' ) + ' unexpected, ';
+                               curStr += colorizeCount( 
thisMode.passedTestsUnexpected, 'red' ) + ' unexpected, ';
                                curStr += colorizeCount( 
thisMode.passedTestsWhitelisted, 'yellow' ) + ' whitelisted) / ';
                                curStr += colorizeCount( thisMode.failedTests, 
'red' ) + ' failed (';
                                curStr += colorizeCount( 
thisMode.failedTestsUnexpected, 'red') + ' unexpected)';

-- 
To view, visit https://gerrit.wikimedia.org/r/60815
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I10faa493394f55fa238f38137f9f8fd4e2e36284
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to