| ... | @@ -408,7 +408,7 @@ test "io.BufferedInStream" { | ... | @@ -408,7 +408,7 @@ test "io.BufferedInStream" { |
| 408 | const stream = &buf_in_stream.stream; | 408 | const stream = &buf_in_stream.stream; |
| 409 | | 409 | |
| 410 | const res = try stream.readAllAlloc(allocator, str.len + 1); | 410 | const res = try stream.readAllAlloc(allocator, str.len + 1); |
| 411 | debug.assertOrPanic(mem.eql(u8, str, res)); | 411 | testing.expectEqualSlices(u8, str, res); |
| 412 | } | 412 | } |
| 413 | | 413 | |
| 414 | /// Creates a stream which supports 'un-reading' data, so that it can be read again. | 414 | /// Creates a stream which supports 'un-reading' data, so that it can be read again. |