From: Mark A. Hershberger Date: Sat, 23 Apr 2011 21:18:22 +0000 (+0000) Subject: w/s cleanup X-Git-Tag: 1.31.0-rc.0~30593 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=6c3d0e056e85a144c5177f024bfab887ff5d128b;p=lhc%2Fweb%2Fwiklou.git w/s cleanup --- diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index f950f3b66e..e6946dd527 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -46,24 +46,24 @@ class PreprocessorTest extends MediaWikiTestCase { array( "=== Foo === \n", "=== Foo ===<!-- --> <!-- -->\n" ), array( "== Foo ==\n== Bar == \n", "== Foo ==\n== Bar == \n" ), array( "===========", "===========" ), - array( "Foo\n=\n==\n=\n", "Foo\n=\n==\n=\n" ), + array( "Foo\n=\n==\n=\n", "Foo\n=\n==\n=\n" ), array( "{{Foo}}", "" ), array( "\n{{Foo}}", "\n" ), - array( "{{Foo|bar}}", "" ), - array( "{{Foo|bar}}a", "a" ), - array( "{{Foo|bar|baz}}", "" ), + array( "{{Foo|bar}}", "" ), + array( "{{Foo|bar}}a", "a" ), + array( "{{Foo|bar|baz}}", "" ), array( "{{Foo|1=bar}}", "" ), array( "{{Foo|=bar}}", "" ), - array( "{{Foo|bar=baz}}", "" ), - array( "{{Foo|1=bar|baz}}", "" ), - array( "{{Foo|bar|foo=baz}}", "" ), + array( "{{Foo|bar=baz}}", "" ), + array( "{{Foo|1=bar|baz}}", "" ), + array( "{{Foo|bar|foo=baz}}", "" ), array( "{{{1}}}", "1" ), array( "{{{1|}}}", "1" ), array( "{{{Foo}}}", "Foo" ), array( "{{{Foo|}}}", "Foo" ), array( "{{{Foo|bar|baz}}}", "Foobarbaz" ), array( "{{Foo}}", "{<!-- -->{Foo}}" ), - array( "{{{{Foobar}}}}", "{Foobar}" ), + array( "{{{{Foobar}}}}", "{Foobar}" ), array( "{{{ {{Foo}} }}}", " <template><title>Foo " ), array( "{{ {{{Foo}}} }}", "" ), array( "{{{{{Foo}}}}}", "" ), @@ -135,7 +135,7 @@ class PreprocessorTest extends MediaWikiTestCase { } else { $tempFilename = tempnam( $folder, "$filename." ); file_put_contents( $tempFilename, $output ); - $this->markTestIncomplete( "File $expectedFilename missing. Output stored as $tempFilename" ); + $this->markTestIncomplete( "File $expectedFilename missing. Output stored as $tempFilename" ); } } }