This commit is contained in:
Karl Seguin
2025-07-14 18:42:25 +08:00
parent cfd62ac137
commit 3906acb83d

View File

@@ -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);
} }