mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-29 15:13:28 +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 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); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Karl Seguin
					Karl Seguin