linkchecker/tests/checker/data/http_anchor.html.result
Nathan Arthur 2d1bf6ef98 Add tests for encoded anchors for file: and http:
I started with a test of urlencoded anchors, assuming at the URL might
have a urlencoded anchor, but the actual anchor in the HTML would NOT be
urlencoded.
2022-10-03 19:33:05 +01:00

17 lines
634 B
Text

url http://localhost:%(port)d/%(datadir)s/http_anchor.html
cache key http://localhost:%(port)d/%(datadir)s/http_anchor.html
real url http://localhost:%(port)d/%(datadir)s/http_anchor.html
valid
url http_anchor.html#bad
cache key http://localhost:%(port)d/%(datadir)s/http_anchor.html#bad
real url http://localhost:%(port)d/%(datadir)s/http_anchor.html#bad
name a_bad
warning Anchor `bad' (decoded: `bad') not found. Available anchors: `good'.
valid
url http_anchor.html#good
cache key http://localhost:%(port)d/%(datadir)s/http_anchor.html#good
real url http://localhost:%(port)d/%(datadir)s/http_anchor.html#good
name a_good
valid