Commit 4a0bb62584

Andrew Kelley <andrew@ziglang.org>
2019-02-17 04:47:58
fixups
1 parent fd61a08
Changed files (1)
std
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.