Subramanya Sastry has uploaded a new change for review.
https://gerrit.wikimedia.org/r/61047
Change subject: Fixed one more piece of incorrect stats display
......................................................................
Fixed one more piece of incorrect stats display
* I noticed that the numbers weren't adding up and found this,
likely a cut-paste error.
Change-Id: I2ec9ac023d9fa61e95bca0d2fd5d38ddc8befada
---
M js/tests/parserTests.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/47/61047/1
diff --git a/js/tests/parserTests.js b/js/tests/parserTests.js
index 7ca38f7..ef2381d 100755
--- a/js/tests/parserTests.js
+++ b/js/tests/parserTests.js
@@ -1185,7 +1185,7 @@
curStr = modes[i] + ': ';
thisMode = stats.modes[modes[i]];
if ( thisMode.passedTests +
thisMode.passedTestsWhitelisted + thisMode.failedTests > 0 ) {
- curStr += colorizeCount( thisMode.passedTests +
stats.passedTestsWhitelisted, 'green' ) + ' passed (';
+ curStr += colorizeCount( thisMode.passedTests +
thisMode.passedTestsWhitelisted, 'green' ) + ' passed (';
curStr += colorizeCount(
thisMode.passedTestsUnexpected, 'red' ) + ' unexpected, ';
curStr += colorizeCount(
thisMode.passedTestsWhitelisted, 'yellow' ) + ' whitelisted) / ';
curStr += colorizeCount( thisMode.failedTests,
'red' ) + ' failed (';
--
To view, visit https://gerrit.wikimedia.org/r/61047
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ec9ac023d9fa61e95bca0d2fd5d38ddc8befada
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits