From ded0c89eea2ff0193f7916db35e3f600d24842ff Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 11 Feb 2026 04:40:35 +0700 Subject: brokenlinks: test links that wrapped by other elements This is to see the behaviour of [Node.Descendants] when traversing the element recursively. --- brokenlinks/testdata/exp_cache.json | 6 +++--- brokenlinks/testdata/web/index.html | 10 ++++++++-- brokenlinks/testdata/web/page2/index.html | 10 ++++++++-- 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 --> - - Broken page +
+ +
+
+
+ Broken page +
+
Page 2 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 --> - - +
+ +
+
+
+ +
+
broken relative link Back with absolute path Back with relative path -- cgit v1.3