dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Don't check namespace in SpecialWantedtemplates"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TemplateParserTest.php
diff --git
a/tests/phpunit/includes/TemplateParserTest.php
b/tests/phpunit/includes/TemplateParserTest.php
index
81854ff
..
3b37f4a
100644
(file)
--- a/
tests/phpunit/includes/TemplateParserTest.php
+++ b/
tests/phpunit/includes/TemplateParserTest.php
@@
-57,7
+57,20
@@
class TemplateParserTest extends MediaWikiTestCase {
array(),
false,
'RuntimeException',
- )
+ ),
+ array(
+ 'has_partial',
+ array(
+ 'planet' => 'world',
+ ),
+ "Partial hello world!\n in here\n",
+ ),
+ array(
+ 'bad_partial',
+ array(),
+ false,
+ 'Exception',
+ ),
);
}
}