aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.zig b/src/main.zig
index c8a3f67..c7892a0 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -15,10 +15,3 @@ pub fn main() !void {
try bw.flush(); // don't forget to flush!
}
-
-test "simple test" {
- var list = std.ArrayList(i32).init(std.testing.allocator);
- defer list.deinit(); // try commenting this out and see if zig detects the memory leak!
- try list.append(42);
- try std.testing.expectEqual(@as(i32, 42), list.pop());
-}