diff options
| author | 2025-02-13 18:40:45 +0100 | |
|---|---|---|
| committer | 2025-02-13 18:40:45 +0100 | |
| commit | 644e21b3efd187ff3e8318f2d579261ab8c3e178 (patch) | |
| tree | b21f6fea971d0b06ebdd9114d9c9ba5873ded0c1 | |
| parent | Merge pull request #175 from MatthiasPortzel/master (diff) | |
| download | zig-sqlite-644e21b3efd187ff3e8318f2d579261ab8c3e178.tar.gz zig-sqlite-644e21b3efd187ff3e8318f2d579261ab8c3e178.tar.xz zig-sqlite-644e21b3efd187ff3e8318f2d579261ab8c3e178.zip | |
fix tests for latest zig
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -4051,8 +4051,8 @@ test "reuse same field twice in query string" { | |||
| 4051 | } | 4051 | } |
| 4052 | 4052 | ||
| 4053 | test "fuzzing" { | 4053 | test "fuzzing" { |
| 4054 | const global = struct { | 4054 | const Context = struct { |
| 4055 | fn testOne(input: []const u8) anyerror!void { | 4055 | fn testOne(_: @This(), input: []const u8) anyerror!void { |
| 4056 | var db = try Db.init(.{ | 4056 | var db = try Db.init(.{ |
| 4057 | .mode = .Memory, | 4057 | .mode = .Memory, |
| 4058 | .open_flags = .{ | 4058 | .open_flags = .{ |
| @@ -4114,5 +4114,5 @@ test "fuzzing" { | |||
| 4114 | } | 4114 | } |
| 4115 | }; | 4115 | }; |
| 4116 | 4116 | ||
| 4117 | try testing.fuzz(global.testOne, .{}); | 4117 | try testing.fuzz(Context{}, Context.testOne, .{}); |
| 4118 | } | 4118 | } |