diff options
| author | Shulhan <ms@kilabit.info> | 2025-06-12 21:13:58 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-06-12 21:13:58 +0700 |
| commit | a02e915388723a5d8cc3b555fb3dfec477fc2a55 (patch) | |
| tree | aa35678b263646e1edd730a16cb35a66e7b933d8 /testdata/web | |
| parent | f408c77795a9dd6d4551fadd2e8352ba08915feb (diff) | |
| download | jarink-a02e915388723a5d8cc3b555fb3dfec477fc2a55.tar.xz | |
all: refactoring, move brokenlinks code to its own package
When two or more struct has the same prefix that means it is time to
move it to group it.
Also, we will group one command to one package in the future.
Diffstat (limited to 'testdata/web')
| -rw-r--r-- | testdata/web/broken.html | 7 | ||||
| -rw-r--r-- | testdata/web/gopher.png | bin | 32775 -> 0 bytes | |||
| -rw-r--r-- | testdata/web/index.html | 22 | ||||
| -rw-r--r-- | testdata/web/page2/index.html | 14 |
4 files changed, 0 insertions, 43 deletions
diff --git a/testdata/web/broken.html b/testdata/web/broken.html deleted file mode 100644 index 533e542..0000000 --- a/testdata/web/broken.html +++ /dev/null @@ -1,7 +0,0 @@ -<html> - <head></head> - <body> - <a href="/brokenPage" - <p> - </body> -</html> diff --git a/testdata/web/gopher.png b/testdata/web/gopher.png Binary files differdeleted file mode 100644 index 79352be..0000000 --- a/testdata/web/gopher.png +++ /dev/null diff --git a/testdata/web/index.html b/testdata/web/index.html deleted file mode 100644 index 61a1f39..0000000 --- a/testdata/web/index.html +++ /dev/null @@ -1,22 +0,0 @@ -<!-- -SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info> -SPDX-License-Identifier: GPL-3.0-only ---> -<html> - <body> - <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> - <!-- Fragment should be skipped and cleaned up --> - <a href="#goto_a">Same with href to "/"</a> - <a href="/page2#goto_a">Same with href to "/page2"</a> - </body> -</html> diff --git a/testdata/web/page2/index.html b/testdata/web/page2/index.html deleted file mode 100644 index ae6b4ea..0000000 --- a/testdata/web/page2/index.html +++ /dev/null @@ -1,14 +0,0 @@ -<!-- -SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info> -SPDX-License-Identifier: GPL-3.0-only ---> -<html> - <body> - <img src="/broken.png" /> - <img src="broken2.png" /> - <a href="broken/relative">broken relative link</a> - <a href="/">Back with absolute path</a> - <a href="../">Back with relative path</a> - <a href="http://127.0.0.1:11900/page2">External URL page2</a> - </body> -</html> |
