From e44423e8e9eebcac92f20ad2145eeedd8aace6f3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 19 Mar 2008 20:17:57 +0000 Subject: [PATCH] Update tests for fragment ID changes in r32160 Note that underscores *are* valid to begin an ID with in XHTML, but not in HTML 4, so are recommended against in HTML-compatible XHTML, although browsers seem to allow it. --- citeParserTests.txt | 66 ++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/citeParserTests.txt b/citeParserTests.txt index 8b6f72a2c..c3193a070 100644 --- a/citeParserTests.txt +++ b/citeParserTests.txt @@ -9,7 +9,7 @@ Simple , no !! input Wikipedia rocks!Proceeds of Rockology, vol. XXI !! result -

Wikipedia rocks![1] +

Wikipedia rocks![1]

!! end @@ -20,9 +20,9 @@ Wikipedia rocks!Proceeds of Rockology, vol. XXI !! result -

Wikipedia rocks![1] +

Wikipedia rocks![1]

-
  1. Proceeds of Rockology, vol. XXI
+
  1. Proceeds of Rockology, vol. XXI
!! end @@ -41,9 +41,9 @@ Templating{{simple template}} !! result -

Templating[1] +

Templating[1]

-
  1. A simple template.
+
  1. A simple template.
!! end @@ -54,9 +54,9 @@ Templating{{simple template}} !! result -

Templating[1] +

Templating[1]

-
  1. {{simple template}}
+
  1. {{simple template}}
!! end @@ -92,9 +92,9 @@ TemplatingText !! result -

Templating[1] +

Templating[1]

-
  1. Text
+
  1. Text
!! end @@ -107,7 +107,7 @@ TemplatingText !! result -

[1] +

[1]

@@ -118,7 +118,7 @@ TemplatingText -
  1. one
+
  1. one
!! end @@ -127,7 +127,7 @@ TemplatingText !! input {{REVISIONID}}elite !! result -

1337[1] +

1337[1]

!! end @@ -149,10 +149,10 @@ Blank ref followed by ref with content !! result -

[1] -

[1] +

[1] +

[1]

-
  1. 1.0 1.1 content
+
  1. 1.0 1.1 content
!! end @@ -165,10 +165,10 @@ Regression: non-blank ref "0" followed by ref with content !! result -

[1] -

[1] +

[1] +

[1]

-
  1. 1.0 1.1 0
+
  1. 1.0 1.1 0
!! end @@ -181,10 +181,10 @@ Regression sanity check: non-blank ref "1" followed by ref with content !! result -

[1] -

[1] +

[1] +

[1]

-
  1. 1.0 1.1 1
+
  1. 1.0 1.1 1
!! end @@ -197,13 +197,13 @@ Ref names containing a number !! result -

[1] -[2] -[3] +

[1] +[2] +[3]

-
  1. One
  2. -
  3. Two
  4. -
  5. Three
+
  1. One
  2. +
  3. Two
  4. +
  5. Three
!! end @@ -227,17 +227,17 @@ Erroneous refs !! result

Cite error: Invalid <ref> tag; name cannot be a simple integer, use a descriptive title -

[1] +

[1]

Cite error: Invalid <ref> tag; refs with no content must have a name -

[2] -

[3] +

[2] +

[3]

Cite error: Invalid <references> tag; no input is allowed, use <references />

Cite error: Invalid <references> tag; no parameters are allowed, use <references />

-
  1. Also zero, but differently! (Normal ref)
  2. -
  3. Cite error: Invalid <ref> tag; no text was provided for refs named bar
  4. -
  5. Cite error: Invalid <ref> tag; no text was provided for refs named blankwithnoreference
+
  1. Also zero, but differently! (Normal ref)
  2. +
  3. Cite error: Invalid <ref> tag; no text was provided for refs named bar
  4. +
  5. Cite error: Invalid <ref> tag; no text was provided for refs named blankwithnoreference
!! end