diff options
| -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)), |