diff options
| -rw-r--r-- | sqlite.zig | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | } |