Index: trunk/phase3/tests/phpunit/includes/parser/PreprocessorTest.php |
— | — | @@ -38,6 +38,8 @@ |
39 | 39 | array( "<noinclude>\n{{Foo}}\n</noinclude>", "<root><ignore><noinclude></ignore>\n<template lineStart=\"1\"><title>Foo</title></template>\n<ignore></noinclude></ignore></root>" ), |
40 | 40 | array( "<noinclude>\n{{Foo}}\n</noinclude>\n", "<root><ignore><noinclude></ignore>\n<template lineStart=\"1\"><title>Foo</title></template>\n<ignore></noinclude></ignore>\n</root>" ), |
41 | 41 | array( "<gallery>foo bar", "<root><ext><name>gallery</name><attr></attr><inner>foo bar</inner></ext></root>" ), |
| 42 | + array( "<{{foo}}>", "<root><<template><title>foo</title></template>></root>" ), |
| 43 | + array( "<{{{foo}}}>", "<root><<tplarg><title>foo</title></tplarg>></root>" ), |
42 | 44 | array( "<gallery></gallery</gallery>", "<root><ext><name>gallery</name><attr></attr><inner></gallery</inner><close></gallery></close></ext></root>" ), |
43 | 45 | array( "=== Foo === ", "<root><h level=\"3\" i=\"1\">=== Foo === </h></root>" ), |
44 | 46 | array( "==<!-- -->= Foo === ", "<root><h level=\"2\" i=\"1\">==<comment><!-- --></comment>= Foo === </h></root>" ), |