aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks
diff options
context:
space:
mode:
Diffstat (limited to 'brokenlinks')
-rw-r--r--brokenlinks/testdata/exp_cache.json6
-rw-r--r--brokenlinks/testdata/web/index.html10
-rw-r--r--brokenlinks/testdata/web/page2/index.html10
3 files changed, 19 insertions, 7 deletions
diff --git a/brokenlinks/testdata/exp_cache.json b/brokenlinks/testdata/exp_cache.json
index bb8fa94..e80202f 100644
--- a/brokenlinks/testdata/exp_cache.json
+++ b/brokenlinks/testdata/exp_cache.json
@@ -2,17 +2,17 @@
"scanned_links": {
"http://127.0.0.1:11900": {
"url": "http://127.0.0.1:11900",
- "size": 1141,
+ "size": 1214,
"status_code": 200
},
"http://127.0.0.1:11900/page2": {
"url": "http://127.0.0.1:11900/page2",
- "size": 410,
+ "size": 483,
"status_code": 200
},
"https://127.0.0.1:11838": {
"url": "https://127.0.0.1:11838",
- "size": 1141,
+ "size": 1214,
"status_code": 200
}
}
diff --git a/brokenlinks/testdata/web/index.html b/brokenlinks/testdata/web/index.html
index 4eaf3ed..6952dd1 100644
--- a/brokenlinks/testdata/web/index.html
+++ b/brokenlinks/testdata/web/index.html
@@ -4,8 +4,14 @@ SPDX-License-Identifier: GPL-3.0-only
-->
<html>
<body>
- <img src="/broken.png" />
- <a href="/brokenPage">Broken page</a>
+ <div>
+ <img src="/broken.png" />
+ </div>
+ <div>
+ <div>
+ <a href="/brokenPage">Broken page</a>
+ </div>
+ </div>
<img src="/gopher.png" />
<img width="200" src="" />
<a href="/page2">Page 2</a>
diff --git a/brokenlinks/testdata/web/page2/index.html b/brokenlinks/testdata/web/page2/index.html
index ae6b4ea..f75b89c 100644
--- a/brokenlinks/testdata/web/page2/index.html
+++ b/brokenlinks/testdata/web/page2/index.html
@@ -4,8 +4,14 @@ SPDX-License-Identifier: GPL-3.0-only
-->
<html>
<body>
- <img src="/broken.png" />
- <img src="broken2.png" />
+ <div>
+ <img src="/broken.png" />
+ </div>
+ <div>
+ <div>
+ <img src="broken2.png" />
+ </div>
+ </div>
<a href="broken/relative">broken relative link</a>
<a href="/">Back with absolute path</a>
<a href="../">Back with relative path</a>