From: Brion Vibber Date: Sat, 10 Jun 2006 00:00:45 +0000 (+0000) Subject: Add regression tests for bug 3298 ( etc in subst), and tests for 4926... X-Git-Tag: 1.31.0-rc.0~56812 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=282c6fb3b9dd89be20a05d99c5f4d4dd7aea8e6c;p=lhc%2Fweb%2Fwiklou.git Add regression tests for bug 3298 ( etc in subst), and tests for 4926 ( etc in message transform). --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index f40e31ae87..c4f944684c 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -2604,6 +2604,26 @@ pst !!end +!! test +pre-save transform: in subst (bug 3298) +!! options +pst +!! input +{{subst:Includes}} +!! result +Foobar +!! end + +!! test +pre-save transform: in subst (bug 3298) +!! options +pst +!! input +{{subst:Includes2}} +!! result +Foo +!! end + ### ### Message transform tests @@ -2628,6 +2648,27 @@ msg ''test'' !! end +!! test +message transform: in transcluded template (bug 4926) +!! options +msg +!! input +{{Includes}} +!! result +Foobar +!! end + +!! test +message transform: in transcluded template (bug 4926) +!! options +msg +!! input +{{Includes2}} +!! result +Foo +!! end + + ### ### Images ###