aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-16 22:47:58 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-02-17 00:29:58 -0500
commit4a0bb6258406aa1f4f876116d47be6b93e115e23 (patch)
tree086f8a6ac8ab82c72c59b4499210d3f8205be972 /std
parentfd61a084e49037bc53dd5150bd27e28758b7aecf (diff)
downloadzig-4a0bb6258406aa1f4f876116d47be6b93e115e23.tar.gz
zig-4a0bb6258406aa1f4f876116d47be6b93e115e23.zip
fixups
Diffstat (limited to 'std')
-rw-r--r--std/io.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io.zig b/std/io.zig
index 2afd54cadd..f6e3790af6 100644
--- a/std/io.zig
+++ b/std/io.zig
@@ -408,7 +408,7 @@ test "io.BufferedInStream" {
const stream = &buf_in_stream.stream;
const res = try stream.readAllAlloc(allocator, str.len + 1);
- debug.assertOrPanic(mem.eql(u8, str, res));
+ testing.expectEqualSlices(u8, str, res);
}
/// Creates a stream which supports 'un-reading' data, so that it can be read again.