From fbb9f8c8fa4ff379cd5f558ef0947f3cf6d3b90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Wed, 26 Aug 2026 13:14:30 +0200 Subject: [PATCH] links: fix test expectation, the test frame has no base URL --- src/browser/links.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/links.zig b/src/browser/links.zig index 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.?); }