From 6c3d0e056e85a144c5177f024bfab887ff5d128b Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Sat, 23 Apr 2011 21:18:22 +0000 Subject: [PATCH] w/s cleanup --- .../includes/parser/PreprocessorTest.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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" ); } } } -- 2.20.1