From: Platonides Date: Sun, 16 Jan 2011 18:20:44 +0000 (+0000) Subject: Another couple of tests. Also passed by the NtPrepro :) X-Git-Tag: 1.31.0-rc.0~32510 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=a8dce135d99ffe7e3ac971084773a68ec3bb22a9;p=lhc%2Fweb%2Fwiklou.git Another couple of tests. Also passed by the NtPrepro :) --- diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index 0b191cab00..b001453d0d 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -66,6 +66,8 @@ class PreprocessorTest extends MediaWikiTestCase { array( "{{{{{{Foo}}}}}}", "<tplarg><title>Foo" ), array( "{{{{{{Foo}}}}}", "{" ), array( "[[[Foo]]", "[[[Foo]]" ), + array( "{{Foo|[[[[bar]]|baz]]}}", "" ), /* This test is important, since it means the difference between having the [[ rule stacked or not */ + array( "{{Foo|[[[[bar]|baz]]}}", "{{Foo|[[[[bar]|baz]]}}" ), /* array( file_get_contents( dirname( __FILE__ ) . '/QuoteQuran.txt' ), file_get_contents( dirname( __FILE__ ) . '/QuoteQuranExpanded.txt' ) ), */ ); }