mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
fix test
This commit is contained in:
@@ -247,6 +247,6 @@ fn testWriteFullHTML(comptime expected: []const u8, src: []const u8) !void {
|
|||||||
defer parser.documentHTMLClose(doc_html) catch {};
|
defer parser.documentHTMLClose(doc_html) catch {};
|
||||||
|
|
||||||
const doc = parser.documentHTMLToDocument(doc_html);
|
const doc = parser.documentHTMLToDocument(doc_html);
|
||||||
try writeHTML(doc, buf.writer(testing.allocator));
|
try writeHTML(doc, .{}, buf.writer(testing.allocator));
|
||||||
try testing.expectEqualStrings(expected, buf.items);
|
try testing.expectEqualStrings(expected, buf.items);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user