From 3e88364a672833048d3b26501ef9495261b19f03 Mon Sep 17 00:00:00 2001
From: Subramanya Sastry
Date: Tue, 2 Oct 2012 16:43:33 -0500
Subject: [PATCH] Additional template and pre-wrapping interaction tests.
Change-Id: I84f5b223d2f7abba3668be6f13784664380cf82f
---
tests/parser/parserTests.txt | 31 +++++++++++++++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)
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
###
--
2.20.1