jenkins-bot has submitted this change and it was merged.
Change subject: Add extra case to EchoDiscussionParserTest::testGetSectionCount
......................................................................
Add extra case to EchoDiscussionParserTest::testGetSectionCount
Change-Id: Iaec5b891df256955f3e24c8251e5f2e2881f469b
---
M tests/phpunit/DiscussionParserTest.php
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
WMDE-Fisch: Looks good to me, but someone else must approve
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/phpunit/DiscussionParserTest.php
b/tests/phpunit/DiscussionParserTest.php
index 912f7d8..1e7e3c0 100644
--- a/tests/phpunit/DiscussionParserTest.php
+++ b/tests/phpunit/DiscussionParserTest.php
@@ -1312,6 +1312,9 @@
$this->assertEquals( 2, EchoDiscussionParser::getSectionCount(
$one . $two ) );
$this->assertEquals( 2, EchoDiscussionParser::getSectionCount(
$one . $three ) );
$this->assertEquals( 3, EchoDiscussionParser::getSectionCount(
$one . $two . $three ) );
+ $this->assertEquals( 30, EchoDiscussionParser::getSectionCount(
+ file_get_contents( __DIR__ .
'/revision_txt/637638133.txt' )
+ ) );
}
public function testGetOverallUserMentionsCount() {
--
To view, visit https://gerrit.wikimedia.org/r/302702
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaec5b891df256955f3e24c8251e5f2e2881f469b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: WMDE-Fisch <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits