commit 4a0bb6258406aa1f4f876116d47be6b93e115e23 (tree)
parent fd61a084e49037bc53dd5150bd27e28758b7aecf
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sat, 16 Feb 2019 22:47:58 -0500
fixups
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.