diff options
| author | 2020-12-21 00:37:57 +0100 | |
|---|---|---|
| committer | 2020-12-21 00:37:57 +0100 | |
| commit | 85b7be031fcc1a5604b6eb5b0d46948b8c240b6e (patch) | |
| tree | 1bd0c8b075fbfcd852ba1ed2bd5594f456886fda | |
| parent | improve readme (diff) | |
| download | zig-sqlite-85b7be031fcc1a5604b6eb5b0d46948b8c240b6e.tar.gz zig-sqlite-85b7be031fcc1a5604b6eb5b0d46948b8c240b6e.tar.xz zig-sqlite-85b7be031fcc1a5604b6eb5b0d46948b8c240b6e.zip | |
actually check the value of is_id
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -824,6 +824,7 @@ test "sqlite: read in an anonymous struct" { | |||
| 824 | testing.expectEqualStrings(exp.name, row.?.name); | 824 | testing.expectEqualStrings(exp.name, row.?.name); |
| 825 | testing.expectEqualStrings(exp.name, mem.spanZ(&row.?.name_2)); | 825 | testing.expectEqualStrings(exp.name, mem.spanZ(&row.?.name_2)); |
| 826 | testing.expectEqual(exp.age, row.?.age); | 826 | testing.expectEqual(exp.age, row.?.age); |
| 827 | testing.expect(row.?.is_id); | ||
| 827 | } | 828 | } |
| 828 | 829 | ||
| 829 | test "sqlite: read in a Text struct" { | 830 | test "sqlite: read in a Text struct" { |