summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2025-02-13 18:40:45 +0100
committerGravatar Vincent Rischmann2025-02-13 18:40:45 +0100
commit644e21b3efd187ff3e8318f2d579261ab8c3e178 (patch)
treeb21f6fea971d0b06ebdd9114d9c9ba5873ded0c1 /sqlite.zig
parentMerge pull request #175 from MatthiasPortzel/master (diff)
downloadzig-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.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 395d290..ef9f40f 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -4051,8 +4051,8 @@ test "reuse same field twice in query string" {
4051} 4051}
4052 4052
4053test "fuzzing" { 4053test "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}