From: Subramanya Sastry
Date: Tue, 2 Oct 2012 21:43:33 +0000 (-0500)
Subject: Additional template and pre-wrapping interaction tests.
X-Git-Tag: 1.31.0-rc.0~22200
X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=3e88364a672833048d3b26501ef9495261b19f03;p=lhc%2Fweb%2Fwiklou.git
Additional template and pre-wrapping interaction tests.
Change-Id: I84f5b223d2f7abba3668be6f13784664380cf82f
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 66ef0d9cb0..4487110ab4 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -893,7 +893,7 @@ foo}}
!!end
!! test
-Templates: Pre: 1c: Wrapping should be based one expanded content
+Templates: Pre: 1c: Wrapping should be based on expanded content
!! input
{{echo|a
b}}
@@ -905,7 +905,7 @@ b}}
!!end
!! test
-Templates: Pre: 1d: Wrapping should be based one expanded content
+Templates: Pre: 1d: Wrapping should be based on expanded content
!! input
{{echo|a
b
@@ -925,6 +925,33 @@ c
!!end
+!!test
+Templates: Pre: 1e. Wrapping should be based on expanded content
+!!input
+{{echo| foo}}
+
+{{echo| foo}}
+{{echo| bar}}
+
+{{echo| foo}}
+
+{{echo| foo}}
+
+{{echo|{{echo| }}bar}}
+!!result
+foo
+
+foo
+bar
+
+foo
+
+foo
+
+bar
+
+!!end
+
###
### Definition lists
###