Skip to content

Commit f612ce2

Browse files
Update src/browser/html/elements.zig
Co-authored-by: Sjors <[email protected]>
1 parent 7f732c9 commit f612ce2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/browser/html/elements.zig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,8 +1593,9 @@ test "Browser.HTML.Element" {
15931593

15941594
try runner.testCases(&.{
15951595
.{ "let l2 = document.createElement('link');", null },
1596-
.{ "l2.href = 'https://lightpanda.io/'", null },
1597-
.{ "l2.href", "https://lightpanda.io/" },
1596+
.{ "l2.href", "" },
1597+
.{ "l2.href = 15", null },
1598+
.{ "l2.href", "https://lightpanda.io/15" },
15981599
}, .{});
15991600
}
16001601

0 commit comments

Comments
 (0)