remove deprecated uses of ArrayList.span

This commit is contained in:
Josh Holland
2020-11-06 18:54:08 +00:00
parent c9551652b0
commit c25b157dda
29 changed files with 108 additions and 108 deletions

View File

@@ -1061,7 +1061,7 @@ test "std.ArrayList(u8) implements outStream" {
const y: i32 = 1234;
try buffer.outStream().print("x: {}\ny: {}\n", .{ x, y });
testing.expectEqualSlices(u8, "x: 42\ny: 1234\n", buffer.span());
testing.expectEqualSlices(u8, "x: 42\ny: 1234\n", buffer.items);
}
test "std.ArrayList/ArrayListUnmanaged.shrink still sets length on error.OutOfMemory" {