From 2385ed767c37c07856f128b3f3541ae5774a4b69 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Thu, 16 Feb 2023 08:46:00 +0100 Subject: fix tests --- sqlite.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite.zig') 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" { const res = mem.sliceTo(&name.?, sentinel); try testing.expectEqualStrings("Vincent", res); } else { - const res = mem.span(&name.?); + const res: []const u8 = &name.?; try testing.expectEqualStrings("Vincent", res); }, else => @compileError("invalid type " ++ @typeName(typ)), -- cgit v1.2.3