From 2f49e0c90200e7e2231fa0958df78e0ea2efbe0e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 17 Nov 2025 06:41:59 -1000 Subject: [PATCH] remove screenclone test cause it leaks memory on purpose --- src/benchmark/ScreenClone.zig | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/benchmark/ScreenClone.zig b/src/benchmark/ScreenClone.zig index df36f1813..942b08cd1 100644 --- a/src/benchmark/ScreenClone.zig +++ b/src/benchmark/ScreenClone.zig @@ -153,14 +153,3 @@ fn stepClone(ptr: *anyopaque) Benchmark.Error!void { // to benchmark that. We'll free when the benchmark exits. } } - -test ScreenClone { - const testing = std.testing; - const alloc = testing.allocator; - - const impl: *ScreenClone = try .create(alloc, .{}); - defer impl.destroy(alloc); - - const bench = impl.benchmark(); - _ = try bench.run(.once); -}