[MediaWiki-commits] [Gerrit] purtle[master]: Minor bug fixes in test suite.
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/371445 ) Change subject: Minor bug fixes in test suite. .. Minor bug fixes in test suite. Change-Id: I05e4b25c775357414c519374574486a9977d59da --- M tests/data/TextWithSpecialChars.rdf M tests/phpunit/RdfWriterTestBase.php 2 files changed, 5 insertions(+), 3 deletions(-) Approvals: jenkins-bot: Verified Thiemo Mättig (WMDE): Looks good to me, approved diff --git a/tests/data/TextWithSpecialChars.rdf b/tests/data/TextWithSpecialChars.rdf index 7952698..b8d7364 100644 --- a/tests/data/TextWithSpecialChars.rdf +++ b/tests/data/TextWithSpecialChars.rdf @@ -10,3 +10,4 @@ http://www.example.org/terms/Bear";> Bear says: Превед! + diff --git a/tests/phpunit/RdfWriterTestBase.php b/tests/phpunit/RdfWriterTestBase.php index 7f7c527..39aaa61 100644 --- a/tests/phpunit/RdfWriterTestBase.php +++ b/tests/phpunit/RdfWriterTestBase.php @@ -243,7 +243,7 @@ } public function testEricMiller() { - // exampel taken from http://www.w3.org/2007/02/turtle/primer/ + // example taken from http://www.w3.org/2007/02/turtle/primer/ $writer = $this->newWriter(); @@ -262,7 +262,7 @@ } public function testLabeledBlankNode() { - // exampel taken from http://www.w3.org/2007/02/turtle/primer/ + // example taken from http://www.w3.org/2007/02/turtle/primer/ $writer = $this->newWriter(); @@ -284,7 +284,7 @@ } public function testNumberedBlankNodes() { - // exampel taken from http://www.w3.org/2007/02/turtle/primer/ + // example taken from http://www.w3.org/2007/02/turtle/primer/ $writer = $this->newWriter(); @@ -319,6 +319,7 @@ ->text( "Cow says:\n\r 'Moo! \\Moo!'" ); $writer->about( 'exterms', 'Bear' )->say( 'exterms', 'says' ) ->text( 'Bear says: Превед!' ); + $writer->finish(); $rdf = $writer->drain(); $this->assertOutputLines( 'TextWithSpecialChars', $rdf ); -- To view, visit https://gerrit.wikimedia.org/r/371445 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I05e4b25c775357414c519374574486a9977d59da Gerrit-PatchSet: 1 Gerrit-Project: purtle Gerrit-Branch: master Gerrit-Owner: C. Scott Ananian Gerrit-Reviewer: Daniel Kinzler Gerrit-Reviewer: Thiemo Mättig (WMDE) Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] purtle[master]: Minor bug fixes in test suite.
C. Scott Ananian has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/371445 ) Change subject: Minor bug fixes in test suite. .. Minor bug fixes in test suite. Change-Id: I05e4b25c775357414c519374574486a9977d59da --- M tests/data/TextWithSpecialChars.rdf M tests/phpunit/RdfWriterTestBase.php 2 files changed, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/purtle refs/changes/45/371445/1 diff --git a/tests/data/TextWithSpecialChars.rdf b/tests/data/TextWithSpecialChars.rdf index 7952698..b8d7364 100644 --- a/tests/data/TextWithSpecialChars.rdf +++ b/tests/data/TextWithSpecialChars.rdf @@ -10,3 +10,4 @@ http://www.example.org/terms/Bear";> Bear says: Превед! + diff --git a/tests/phpunit/RdfWriterTestBase.php b/tests/phpunit/RdfWriterTestBase.php index 7f7c527..39aaa61 100644 --- a/tests/phpunit/RdfWriterTestBase.php +++ b/tests/phpunit/RdfWriterTestBase.php @@ -243,7 +243,7 @@ } public function testEricMiller() { - // exampel taken from http://www.w3.org/2007/02/turtle/primer/ + // example taken from http://www.w3.org/2007/02/turtle/primer/ $writer = $this->newWriter(); @@ -262,7 +262,7 @@ } public function testLabeledBlankNode() { - // exampel taken from http://www.w3.org/2007/02/turtle/primer/ + // example taken from http://www.w3.org/2007/02/turtle/primer/ $writer = $this->newWriter(); @@ -284,7 +284,7 @@ } public function testNumberedBlankNodes() { - // exampel taken from http://www.w3.org/2007/02/turtle/primer/ + // example taken from http://www.w3.org/2007/02/turtle/primer/ $writer = $this->newWriter(); @@ -319,6 +319,7 @@ ->text( "Cow says:\n\r 'Moo! \\Moo!'" ); $writer->about( 'exterms', 'Bear' )->say( 'exterms', 'says' ) ->text( 'Bear says: Превед!' ); + $writer->finish(); $rdf = $writer->drain(); $this->assertOutputLines( 'TextWithSpecialChars', $rdf ); -- To view, visit https://gerrit.wikimedia.org/r/371445 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I05e4b25c775357414c519374574486a9977d59da Gerrit-PatchSet: 1 Gerrit-Project: purtle Gerrit-Branch: master Gerrit-Owner: C. Scott Ananian ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits