Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / linkchecker / src / Tests / LinkCheckerLinkExtractionTest.php
index de937e001cc640ac869908b00591000e5829bec7..f85dc6ebf4b2dfe82446465cea936431852425b0 100644 (file)
@@ -87,6 +87,8 @@ class LinkCheckerLinkExtractionTest extends WebTestBase {
 <a href="http://example.com/foo bar/is_valid-hack.test">URL with space</a>
 <a href="http://example.com/ajax.html#key1=value1&key2=value2">URL with ajax query params</a>
 <a href="http://example.com/test.html#test">URL with standard anchor</a>
+<a href="http://example.com/test.html#test%20ABC">URL with standard anchor and space</a>
+<a name="test ABC">Anchor with space</a>
 
 <!-- object tag: Embed SWF files -->
 <object width="150" height="116"
@@ -241,6 +243,7 @@ EOT;
       'http://example.com/foo bar/is_valid-hack.test',
       'http://example.com/ajax.html#key1=value1&key2=value2',
       'http://example.com/test.html#test',
+      'http://example.com/test.html#test%20ABC',
     );
 
     foreach ($urls_fqdn as $org_url => $check_url) {
@@ -365,6 +368,7 @@ EOT;
       'http://example.com/foo bar/is_valid-hack.test',
       'http://example.com/ajax.html#key1=value1&key2=value2',
       'http://example.com/test.html#test',
+      'http://example.com/test.html#test%20ABC',
     );
 
     foreach ($documentation_urls as $documentation_url) {