aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorxackus <14938807+xackus@users.noreply.github.com>2020-04-11 21:06:56 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-04-11 20:40:34 -0400
commitdbc00e24247da16ac584bb9e92b5ccf04647c3b9 (patch)
treea73219b06cb0ead18b93289975257f2f498f5dd4 /test
parent3c34c313cf999238753b34f01b0437a552fb3be0 (diff)
downloadzig-dbc00e24247da16ac584bb9e92b5ccf04647c3b9.tar.gz
zig-dbc00e24247da16ac584bb9e92b5ccf04647c3b9.zip
ArrayList: remove old (before span) API
Diffstat (limited to 'test')
-rw-r--r--test/tests.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.zig b/test/tests.zig
index 59a0af195e..a8c42c7495 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -880,7 +880,7 @@ pub const CompileErrorContext = struct {
var i: usize = 0;
ok = while (err_iter.next()) |line| : (i += 1) {
if (i >= self.case.expected_errors.items.len) break false;
- const expected = self.case.expected_errors.at(i);
+ const expected = self.case.expected_errors.items[i];
if (mem.indexOf(u8, line, expected) == null) break false;
continue;
} else true;