From 25287626400ee9c6ce77f65218ed72a4ba0552a3 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Thu, 7 Mar 2019 10:25:53 -0500 Subject: [PATCH] Update tests to match parser changes Bug: T208070 Depends-On: I3da235cb83efa424f0cf1cf4fc7233240fcdf6b2 Change-Id: I6119b4af9632496dbda81c3a3951c55217e7c2d5 --- tests/parser/citeParserTests.txt | 41 -------------------------------- 1 file changed, 41 deletions(-) diff --git a/tests/parser/citeParserTests.txt b/tests/parser/citeParserTests.txt index 514c7d31e..77bc22aa9 100644 --- a/tests/parser/citeParserTests.txt +++ b/tests/parser/citeParserTests.txt @@ -25,7 +25,6 @@ Wikipedia rocks!&#
  • Proceeds of Rockology, vol. XXI
  • - !! end !! test @@ -41,7 +40,6 @@ Wikipedia rocks!Proceeds of Rockology, vol. XXI
  • Proceeds of Rockology, vol. XXI
  • - !! end !! article @@ -64,7 +62,6 @@ Templating{{simple template}}
  • A simple template.
  • - !! end !! test @@ -80,7 +77,6 @@ Templating{{simple template}}
  • {{simple template}}
  • - !! end @@ -121,7 +117,6 @@ TemplatingText
  • Text
  • - !! end !! test @@ -146,7 +141,6 @@ TemplatingText
  • one
  • - !! end !! test @@ -158,7 +152,6 @@ TemplatingText
  • elite
  • - !! end !! test @@ -186,7 +179,6 @@ Ref with content followed by blank ref
  • 1.0 1.1 content
  • - !! end !! test @@ -205,7 +197,6 @@ Blank ref followed by ref with content
  • 1.0 1.1 content
  • - !! end !! test @@ -224,7 +215,6 @@ Regression: non-blank ref "0" followed by ref with content
  • 1.0 1.1 0 Cite error: Invalid <ref> tag; name "blank" defined multiple times with different content
  • - !! end !! test @@ -243,7 +233,6 @@ Regression sanity check: non-blank ref "1" followed by ref with content
  • 1.0 1.1 1 Cite error: Invalid <ref> tag; name "blank" defined multiple times with different content
  • - !! end !! test @@ -267,7 +256,6 @@ Ref names containing a number
  • Three
  • - !! end !! test @@ -282,7 +270,6 @@ T184912: Consistent normalization of consecutive underscores
  • example
  • - !! end !! test @@ -318,7 +305,6 @@ no text was provided for refs named bar
  • Cite error: Invalid <ref> tag; no text was provided for refs named blankwithnoreference
  • - !! end !! test @@ -374,7 +360,6 @@ Wikipedia rocks!&#
  • Proceeds of Rockology, vol. XXI
  • - !! end !! test @@ -402,7 +387,6 @@ AAAref aBBBnote bCCC note b - !! end !! test @@ -420,7 +404,6 @@ AAAref aBBBnote bCCC BAR - !! end !! test @@ -438,7 +421,6 @@ AAAref aBBBnote bCCC BAR - !! end !! test @@ -484,7 +466,6 @@ Wikipedia rocks!Proceeds of Rockology, vol. XXI
  • Proceeds of Rockology, vol. XXI
  • - !! end !! test @@ -503,7 +484,6 @@ Consecutive whitespace in custom link label message should not create empty []
  • 2nd
  • - !! end !! test @@ -523,7 +503,6 @@ Bug 31374 regression check: nested strip items
  • reference
  • - !! end !! test @@ -543,7 +522,6 @@ foo foo - !! end !! test @@ -575,7 +553,6 @@ Bla.&#
  • Cite error: Invalid <ref> tag; no text was provided for refs named void
  • - !! end !! test @@ -596,7 +573,6 @@ Page two.Second page footnote text.
  • First page footnote text. Second page footnote text.
  • - !! end !! test @@ -624,7 +600,6 @@ Multiple definition (outside )
  • 1.0 1.1 abc Cite error: Invalid <ref> tag; name "a" defined multiple times with different content
  • - !! end !! test @@ -642,7 +617,6 @@ Multiple definition (inside )
  • abc Cite error: Invalid <ref> tag; name "a" defined multiple times with different content
  • - !! end !! test @@ -659,7 +633,6 @@ Multiple definition (mixed outside/inside)
  • abc Cite error: Invalid <ref> tag; name "a" defined multiple times with different content
  • - !! end !! test @@ -677,7 +650,6 @@ Multiple definition (inside {{#tag:references}})
  • abc Cite error: Invalid <ref> tag; name "a" defined multiple times with different content
  • - !! end # Parsoid doesn't rt cleanly because name attribute is actually broken @@ -695,7 +667,6 @@ parsoid=wt2html
  • ">[bar]
  • - !! html/parsoid

    [1]

    1. ">[bar]
    @@ -715,7 +686,6 @@ wgFragmentMode=[ 'html5' ]
  • [bar]
  • - !! html/parsoid

    [1]

    1. [bar]
    @@ -1034,7 +1004,6 @@ wgFragmentMode=[ 'html5', 'legacy' ]
  • foo
  • - !! html/parsoid

    [1]

    @@ -1063,7 +1032,6 @@ parsoid=wt2html,html2html
  • 1.0 1.1 foo
  • - !! html/parsoid

    1 [1] 2 [1]

    @@ -1209,7 +1177,6 @@ References: 6. from a transclusion
  • Foo
  • - !! html/php+tidy

    [1]

    1. Foo @@ -1321,7 +1288,6 @@ parsoid=wt2html,html2html
    2. hi
    - !! html/parsoid

    [1]

      @@ -1563,7 +1529,6 @@ T15673: with direction "rtl"
    1. TEST
    - !! html/parsoid

    [1]

    @@ -1583,7 +1548,6 @@ T15673: with direction "ltr"
  • TEST
  • - !! html/parsoid

    [1]

    @@ -1603,7 +1567,6 @@ T15673: with direction "LTR", keeps upper case
  • TEST
  • - !! html/parsoid

    [1]

    @@ -1623,7 +1586,6 @@ T15673: with direction "nonsense", strip invalid dir attribute and shows e
  • TESTCite error: Invalid <ref> tag; dir attribute "nonsense" is unknown. Must be ltr or rtl
  • - !! html/parsoid

    [1]

    @@ -1643,7 +1605,6 @@ T15673: Direction is supported when specifying name and group
  • TEST
  • - !! html/parsoid

    [note 1]

    @@ -1677,7 +1638,6 @@ ghijklmno
  • 1.0 1.1 jkl
  • - !! html/parsoid

    abc[1]def

    @@ -1702,7 +1662,6 @@ ghijklmno
  • 1.0 1.1 jkl
  • - !! html/parsoid

    abc[1]def