Lightpanda: the headless browser designed for AI and automation
links: fix test expectation, the test frame has no base URL
Adrià Arrufatfbb9f8c8fa4f
diff --git a/src/browser/links.zig b/src/browser/links.zigindex 771646969..aab0871cf 100644--- a/src/browser/links.zig+++ b/src/browser/links.zig@@ -179,7 +179,7 @@ test "links: one entry per href, keeping the first with text" {try testing.expectEqual(2, links.len);try testing.expectEqual("Read the post", links[0].text.?);- try testing.expectEqual("http://localhost/post/1", links[0].href);+ try testing.expectEqual("/post/1", links[0].href);try testing.expectEqual("Other", links[1].text.?);}