aboutsummaryrefslogtreecommitdiff
path: root/lib/std/io.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-22 02:04:48 -0700
committerGitHub <noreply@github.com>2024-03-22 02:04:48 -0700
commitd8bb139da44d9140fd8992608fcbbddcd1816889 (patch)
treea6277199a72ae9ae6265c7b2dd8274d8e54d220a /lib/std/io.zig
parenta2651cbc829d44df4c3773037598b30e8cf0c4da (diff)
parent90c94a2f0b7ce71aae1b69cf9e7b517c3a771906 (diff)
downloadzig-d8bb139da44d9140fd8992608fcbbddcd1816889.tar.gz
zig-d8bb139da44d9140fd8992608fcbbddcd1816889.zip
Merge pull request #19390 from ziglang/valgrind
make the behavior tests run almost valgrind clean
Diffstat (limited to 'lib/std/io.zig')
-rw-r--r--lib/std/io.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/io.zig b/lib/std/io.zig
index 58724c582e..9f0f444a83 100644
--- a/lib/std/io.zig
+++ b/lib/std/io.zig
@@ -421,7 +421,7 @@ fn dummyWrite(context: void, data: []const u8) error{}!usize {
return data.len;
}
-test "null_writer" {
+test null_writer {
null_writer.writeAll("yay" ** 10) catch |err| switch (err) {};
}