summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sqlite.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 1145a9e..c479e5c 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -968,10 +968,10 @@ test "sqlite: statement iterator" {
968 } 968 }
969 969
970 // Check the data 970 // Check the data
971 testing.expectEqual(expected_rows.span().len, rows.span().len); 971 testing.expectEqual(expected_rows.items.len, rows.items.len);
972 972
973 for (rows.span()) |row, j| { 973 for (rows.items) |row, j| {
974 const exp_row = expected_rows.span()[j]; 974 const exp_row = expected_rows.items[j];
975 testing.expectEqualStrings(exp_row.name, row.name.data); 975 testing.expectEqualStrings(exp_row.name, row.name.data);
976 testing.expectEqual(exp_row.age, row.age); 976 testing.expectEqual(exp_row.age, row.age);
977 } 977 }