From: Gabriel Wicke
Date: Thu, 27 Jun 2013 21:46:20 +0000 (-0700)
Subject: Sync up with Parsoid tests
X-Git-Tag: 1.31.0-rc.0~19327
X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=d4128daa22e4c67d5a727054e75c4db2dbbc5cc3;p=lhc%2Fweb%2Fwiklou.git
Sync up with Parsoid tests
Change-Id: Id1d80a581564d0365c04953da4f41b086a2bc0d8
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 468ebb63f3..17f9437e21 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -1515,6 +1515,17 @@ Templates: Strip whitespace from named parameters, but not positional ones
!! end
+!! test
+Templates: Parsoid parameter escaping test 1
+!! options
+parsoid
+!! input
+{{echo|[foo]|{{echo|[bar]}}}}
+!! result
+
[foo]
+!! end
+
###
### Parsoid-centric tests for testing RT edge cases for pre
###
@@ -4543,6 +4554,84 @@ language=ln
!! end
+!! test
+Parsoid: handle constructor well
+!! options
+parsoid
+!! input
+[[constructor]]
+
+[[constructor:foo]]
+!! result
+
+!! end
+
+!! test
+Parsoid: Serialize link to file page with colon escape
+!! options
+parsoid
+!! input
+
+[[:File:Foo.png]]
+[[:File:Foo.png|Bar]]
+!! result
+