mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-18 01:34:44 -04:00
links: fix test expectation, the test frame has no base URL
This commit is contained in:
1 parent
6dca2c8917
commit
fbb9f8c8fa
1 file changed
+1
-1
@@ -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.?);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user