From cf46d407fa6590b16825b47b1ed587e1ee7d97e8 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 8 Nov 2012 14:18:05 -0800 Subject: [PATCH] More parameter stripping tests: nested and single-line Change-Id: I3140932539078b24d0e39d45f5305ce9d5dbe7a9 --- tests/parser/parserTests.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index fd4c08bad8..a1de736949 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -1042,6 +1042,27 @@ Templates: Pre: 1f: Wrapping should be based on expanded content !!end +!! test +Templates: Single-line variant of parameter whitespace stripping test +!! input +{{echo| a}} + +{{echo|1= a}} + +{{echo|{{echo| a}}}} + +{{echo|1={{echo| a}}}} +!! result +
a
+
+

a +

+
a
+
+

a +

+!! end + ### ### Parsoid-centric tests for testing RT edge cases for pre ### -- 2.20.1