dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ded9b1
)
More parameter stripping tests: nested and single-line
author
Gabriel Wicke
<gwicke@wikimedia.org>
Thu, 8 Nov 2012 22:18:05 +0000
(14:18 -0800)
committer
Gabriel Wicke
<gwicke@wikimedia.org>
Thu, 8 Nov 2012 22:37:49 +0000
(14:37 -0800)
Change-Id: I3140932539078b24d0e39d45f5305ce9d5dbe7a9
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
fd4c08b
..
a1de736
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-1042,6
+1042,27
@@
Templates: Pre: 1f: Wrapping should be based on expanded content
</pre>
!!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
+<pre>a
+</pre>
+<p>a
+</p>
+<pre>a
+</pre>
+<p>a
+</p>
+!! end
+
###
### Parsoid-centric tests for testing RT edge cases for pre
###