diff options
| author | Shulhan <ms@kilabit.info> | 2025-05-29 15:32:12 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-05-29 15:32:12 +0700 |
| commit | c2561302bddec4596a2582d72c6bc0942fe4c287 (patch) | |
| tree | 8387fde8dbd258de4d5082909e186162960f2222 /testdata/web/index.html | |
| parent | b0c320e436ff5cdc70ad38a980a2af2a7f3e5dfd (diff) | |
| download | jarink-c2561302bddec4596a2582d72c6bc0942fe4c287.tar.xz | |
all: add test cases for broken link and invalid URL
Diffstat (limited to 'testdata/web/index.html')
| -rw-r--r-- | testdata/web/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testdata/web/index.html b/testdata/web/index.html index f4f86d8..a245d07 100644 --- a/testdata/web/index.html +++ b/testdata/web/index.html @@ -7,8 +7,13 @@ SPDX-License-Identifier: GPL-3.0-only <img src="/broken.png" /> <a href="/brokenPage">Broken page</a> <img src="/gopher.png" /> + <img width="200" src="" /> <a href="/page2">Page 2</a> <a href="/broken.html">Broken HTML</a> <a href="http://127.0.0.1:11900">External URL</a> + <!-- Error when fetching with GET --> + <a href="http:/127.0.0.1:11836">Invalid external URL</a> + <!-- Error when parsing URL --> + <a href="http://127.0.0.1:abc">Invalid URL port</a> </body> </html> |
