From d39c674b42c897525ec25d424f89401810ee54d0 Mon Sep 17 00:00:00 2001
From: Mark Holmquist
Date: Mon, 7 Jan 2013 15:43:37 -0800
Subject: [PATCH] (bug 43661) Added test for special link trail case
Parsoid is now constructing link trails based on a few rules, one of which
dealt with link prefixes. However, that caused some regressions that weren't
tested until now.
Change-Id: Id205589bb06bc5b290e67d4f4731f0e8e7215dee
---
tests/parser/parserTests.txt | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 8aac86ddf7..2dac99f19f 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -3232,6 +3232,28 @@ Link with suffix
!! end
+!! article
+prefixed article
+!! text
+Some text
+!! endarticle
+
+!! test
+Bug 43661: Piped links with identical prefixes
+!! input
+[[prefixed article|prefixed articles with spaces]]
+
+[[prefixed article|prefixed articlesaoeu]]
+
+[[Main Page|Main Page test]]
+!! result
+prefixed articles with spaces
+
prefixed articlesaoeu
+
Main Page test
+
+!! end
+
+
!! test
Link with HTML entity in suffix / tail
!! input
--
2.20.1