mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-15 15:58:57 +00:00
fix leak in test
This commit is contained in:
@@ -252,7 +252,7 @@ test "URL: Stiching src as full path" {
|
|||||||
|
|
||||||
const base = "https://www.lightpanda.io/";
|
const base = "https://www.lightpanda.io/";
|
||||||
const src = "https://lightpanda.io/something.js";
|
const src = "https://lightpanda.io/something.js";
|
||||||
const result = try URL.stitch(allocator, src, base, .{});
|
const result = try URL.stitch(allocator, src, base, .{ .alloc = .if_needed });
|
||||||
try testing.expectString("https://lightpanda.io/something.js", result);
|
try testing.expectString("https://lightpanda.io/something.js", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user