This commit is contained in:
Andrew Kelley 2019-02-16 22:47:58 -05:00
parent fd61a084e4
commit 4a0bb62584
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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.