From 5b1f26b7b17b430826123d193f694c215ce3fe6f Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Fri, 16 Aug 2013 12:42:55 -0400 Subject: [PATCH] Add parserTests for the interaction of italics and possessives. Bug: 49926 Change-Id: I9756a1fb0bd583e6a4495ef28c3c159492dad871 --- tests/parser/parserTests.txt | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) 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 ### -- 2.20.1