aboutsummaryrefslogtreecommitdiff
path: root/src/dom/html.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/html.zig')
-rw-r--r--src/dom/html.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dom/html.zig b/src/dom/html.zig
index 47de020..a3178f2 100644
--- a/src/dom/html.zig
+++ b/src/dom/html.zig
@@ -35,7 +35,7 @@ fn doTest(alloc: std.mem.Allocator, el: []const u8, exp: []const u8) !void {
test "escaping html" {
var arena = std.heap.DebugAllocator(.{}).init;
- defer _ = arena.deinit();
+ defer if (arena.deinit() == .leak) std.debug.print("leaking!\n", .{});
const alloc = arena.allocator();
try doTest(alloc, "hello world", "hello world");