dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4ad57ef
)
Merge "More parameter stripping tests: nested and single-line"
author
Subramanya Sastry
<ssastry@wikimedia.org>
Thu, 8 Nov 2012 22:41:22 +0000
(22:41 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 8 Nov 2012 22:41:22 +0000
(22:41 +0000)
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
9fb3d06
..
db6a5c7
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-1049,6
+1049,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
###