From: C. Scott Ananian
Date: Fri, 16 Aug 2013 16:42:55 +0000 (-0400)
Subject: Add parserTests for the interaction of italics and possessives.
X-Git-Tag: 1.31.0-rc.0~18956
X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=5b1f26b7b17b430826123d193f694c215ce3fe6f;p=lhc%2Fweb%2Fwiklou.git
Add parserTests for the interaction of italics and possessives.
Bug: 49926
Change-Id: I9756a1fb0bd583e6a4495ef28c3c159492dad871
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 91fabb751f..8268fd5701 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -447,9 +447,9 @@ Italics and bold
!! end
-# this example taken from the simple/Moon article
+# this example taken from the [[simple:Moon]] article (bug 47326)
!! test
-Italics and possessives
+Italics and possessives (1)
!! input
obtained by ''[[Lunar Prospector]]'''s gamma-ray spectrometer
!! result
@@ -457,6 +457,27 @@ obtained by ''[[Lunar Prospector]]'''s gamma-ray spectrometer
!! end
+# this example taken from [[en:Flaming Pie]] (bug 49926)
+!! test
+Italics and possessives (2)
+!! input
+'''''Flaming Pie''''' is ... released in 1997. In ''Flaming Pie'''s liner notes
+!! result
+Flaming Pie is ... released in 1997. In Flaming Pie's liner notes
+
+!! end
+
+# this example taken from [[en:Dictionary]] (bug 49926)
+!! test
+Italics and possessives (3)
+!! input
+The first monolingual dictionary written in a Romance language was ''Sebastián Covarrubias''' ''Tesoro de la lengua castellana o española'', published in 1611 in Madrid. In 1612 the first edition of the ''Vocabolario dell'[[Accademia della Crusca]]'', for Italian, was published. In 1690 in Rotterdam was published, posthumously, the ''Dictionnaire Universel''.
+!! result
+The first monolingual dictionary written in a Romance language was Sebastián Covarrubias' Tesoro de la lengua castellana o española, published in 1611 in Madrid. In 1612 the first edition of the Vocabolario dell'Accademia della Crusca, for Italian, was published. In 1690 in Rotterdam was published, posthumously, the Dictionnaire Universel.
+
+!! end
+
+
###
### 2-quote opening sequence tests
###