summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2023-02-16 08:46:00 +0100
committerGravatar Vincent Rischmann2023-02-16 08:46:00 +0100
commit2385ed767c37c07856f128b3f3541ae5774a4b69 (patch)
treef3cedae0df02dd05fa8272f1d334d6c93de22ba5 /sqlite.zig
parentfix build (diff)
downloadzig-sqlite-2385ed767c37c07856f128b3f3541ae5774a4b69.tar.gz
zig-sqlite-2385ed767c37c07856f128b3f3541ae5774a4b69.tar.xz
zig-sqlite-2385ed767c37c07856f128b3f3541ae5774a4b69.zip
fix tests
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index db6ce0d..1b39a04 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -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)),