From a8dce135d99ffe7e3ac971084773a68ec3bb22a9 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 16 Jan 2011 18:20:44 +0000 Subject: [PATCH] Another couple of tests. Also passed by the NtPrepro :) --- tests/phpunit/includes/parser/PreprocessorTest.php | 2 ++ 1 file changed, 2 insertions(+) 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' ) ), */ ); } -- 2.20.1