Skip to content

Commit bde8c54

Browse files
authored
Merge pull request #748 from lightpanda-io/test_leak
fix leak in test
2 parents 9c2e3e2 + 97b17af commit bde8c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/url.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ test "URL: Stiching src as full path" {
252252

253253
const base = "https://www.lightpanda.io/";
254254
const src = "https://lightpanda.io/something.js";
255-
const result = try URL.stitch(allocator, src, base, .{});
255+
const result = try URL.stitch(allocator, src, base, .{ .alloc = .if_needed });
256256
try testing.expectString("https://lightpanda.io/something.js", result);
257257
}
258258

0 commit comments

Comments
 (0)