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 @@
        <rdf:Description rdf:about="http://www.example.org/terms/Bear";>
                <exterms:says>Bear says: Превед!</exterms:says>
        </rdf:Description>
+</rdf:RDF>
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 <canan...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to