diff options
| author | 2023-02-16 08:46:00 +0100 | |
|---|---|---|
| committer | 2023-02-16 08:46:00 +0100 | |
| commit | 2385ed767c37c07856f128b3f3541ae5774a4b69 (patch) | |
| tree | f3cedae0df02dd05fa8272f1d334d6c93de22ba5 | |
| parent | fix build (diff) | |
| download | zig-sqlite-2385ed767c37c07856f128b3f3541ae5774a4b69.tar.gz zig-sqlite-2385ed767c37c07856f128b3f3541ae5774a4b69.tar.xz zig-sqlite-2385ed767c37c07856f128b3f3541ae5774a4b69.zip | |
fix tests
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2623,7 +2623,7 @@ test "sqlite: read a single text value" { | |||
| 2623 | const res = mem.sliceTo(&name.?, sentinel); | 2623 | const res = mem.sliceTo(&name.?, sentinel); |
| 2624 | try testing.expectEqualStrings("Vincent", res); | 2624 | try testing.expectEqualStrings("Vincent", res); |
| 2625 | } else { | 2625 | } else { |
| 2626 | const res = mem.span(&name.?); | 2626 | const res: []const u8 = &name.?; |
| 2627 | try testing.expectEqualStrings("Vincent", res); | 2627 | try testing.expectEqualStrings("Vincent", res); |
| 2628 | }, | 2628 | }, |
| 2629 | else => @compileError("invalid type " ++ @typeName(typ)), | 2629 | else => @compileError("invalid type " ++ @typeName(typ)), |