diff --git a/test.pl b/test.pl index 35652b73..8749014c 100755 --- a/test.pl +++ b/test.pl @@ -2311,7 +2311,7 @@ InitVariables(); %Test = split('\n',<<'EOT'); == make honey ==\n\nMoo.\n -
Moo.
+Moo.
EOT run_tests(); @@ -2324,10 +2324,10 @@ test_page(update_page('toc', "bla\n" . "==two==\n" . "mu."), quotemeta(''), - quotemeta('murks'),); @@ -2402,8 +2402,8 @@ update_page('headers', "== one ==\ntext\n== two ==\ntext\n== three ==\ntext\n"); test_page(get_page('headers'), '
foo == no header ==
text
foo == no header ==
text
foo
foo
foo
foo
text
', - 'text
', + 'foo
foo
foo
foo
foo
foo
foo
one
two
one
two
murks')); @@ -2801,12 +2812,12 @@ xpath_test(get_page('action=rc days=1 showedit=1'), update_page('LocalNamesTest', 'This is an [http://www.example.org/ Example] for [http://www.emacswiki.org EmacsWiki].'); xpath_test(get_page('action=rc days=1 showedit=1'), - '//a[@class="local"][text()="LocalNames"]/following-sibling::strong[text()="Local names defined on LocalNamesTest: Example, and EmacsWiki"]'); + '//a[@class="local"][text()="LocalNames"]/following-sibling::strong[text()="Local names defined on LocalNamesTest: EmacsWiki, and Example"]'); update_page('LocalNamesTest', 'This is an [http://www.example.com/ Example] for [http://www.emacswiki.org/ EmacsWiki] and [http://communitywiki.org/ Community Wiki].'); xpath_test(get_page('action=rc days=1 showedit=1'), - '//a[@class="local"][text()="LocalNames"]/following-sibling::strong[text()="Local names defined on LocalNamesTest: Example, EmacsWiki, and Community Wiki"]'); + '//a[@class="local"][text()="LocalNames"]/following-sibling::strong[text()="Local names defined on LocalNamesTest: Community Wiki, EmacsWiki, and Example"]'); update_page('LocalNamesTest', 'This is [http://www.example.com/ one Example].'); xpath_test(get_page('LocalNames'),