From 69863825ba200888e5322e82f15fe49d17fd5fe9 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Mon, 11 Jan 2010 06:17:50 +0000 Subject: [PATCH] Add test for bug where variant was persisting when it shouldn't --- maintenance/parserTests.txt | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 238abe3f7d..fad5a39c0b 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -6938,6 +6938,18 @@ Taiwan

!! end +!! test +Adding explicit conversion rule for title (T flag) +!! options +language=zh variant=zh showtitle +!! input +Should be stripped-{T|zh:China;zh-tw:Taiwan}-! +!! result +China +

Should be stripped! +

+!! end + !! test Raw output of variant escape tags (R flag) !! options @@ -7514,30 +7526,6 @@ title=[[Main Page]] #section !! end -!! test -Adding explicit conversion rule for title (T flag) -!! options -language=zh variant=zh-tw showtitle **** disabled (for now) because I think it uncovers a bug and I want a reminder -!! input -Should be stripped-{T|zh:China;zh-tw:Taiwan}-! -!! result -Taiwan -

Should be stripped! -

-!! end - -!! test -Adding explicit conversion rule for title (T flag) -!! options -language=zh variant=zh showtitle **** disabled (for now) because I think it uncovers a bug and I want a reminder -!! input -Should be stripped-{T|zh:China;zh-tw:Taiwan}-! -!! result -China -

Should be stripped! -

-!! end - TODO: more images more tables -- 2.20.1