X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTemplateParserTest.php;h=cb321bbe3644b3855080186c15822051d8516a72;hb=f6633d9f46951e57e5c7060953194aeeb7522024;hp=ccccf0f94904fd8c2d4dcde57e358c074844a022;hpb=803f3867b7fcbb5fcee405f5c10cfa06cb857bd6;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TemplateParserTest.php b/tests/phpunit/includes/TemplateParserTest.php index ccccf0f949..cb321bbe36 100644 --- a/tests/phpunit/includes/TemplateParserTest.php +++ b/tests/phpunit/includes/TemplateParserTest.php @@ -105,6 +105,17 @@ class TemplateParserTest extends MediaWikiTestCase { false, 'Exception', ], + [ + 'parentvars', + [ + 'foo' => 'f', + 'bar' => [ + [ 'baz' => 'x' ], + [ 'baz' => 'y' ] + ] + ], + "f\n\n\tf x\n\n\tf y\n\n" + ] ]; }