The test "{{Foo|1=bar|2=baz}}" got removed in r96887.
authorPlatonides <platonides@users.mediawiki.org>
Sat, 29 Oct 2011 21:19:08 +0000 (21:19 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 29 Oct 2011 21:19:08 +0000 (21:19 +0000)
Readding without the linestart="1", which is all the difference removed on this file in r96887.

tests/phpunit/includes/parser/PreprocessorTest.php

index 033651d..121b60b 100644 (file)
@@ -58,6 +58,7 @@ class PreprocessorTest extends MediaWikiTestCase {
                        array( "{{Foo|=bar}}", "<root><template><title>Foo</title><part><name></name>=<value>bar</value></part></template></root>" ),
                        array( "{{Foo|bar=baz}}", "<root><template><title>Foo</title><part><name>bar</name>=<value>baz</value></part></template></root>" ), 
                        array( "{{Foo|1=bar|baz}}", "<root><template><title>Foo</title><part><name>1</name>=<value>bar</value></part><part><name index=\"1\" /><value>baz</value></part></template></root>" ), 
+                       array( "{{Foo|1=bar|2=baz}}", "<root><template><title>Foo</title><part><name>1</name>=<value>bar</value></part><part><name>2</name>=<value>baz</value></part></template></root>" ),
                        array( "{{Foo|bar|foo=baz}}", "<root><template><title>Foo</title><part><name index=\"1\" /><value>bar</value></part><part><name>foo</name>=<value>baz</value></part></template></root>" ), 
                        array( "{{{1}}}", "<root><tplarg><title>1</title></tplarg></root>" ),
                        array( "{{{1|}}}", "<root><tplarg><title>1</title><part><name index=\"1\" /><value></value></part></tplarg></root>" ),