Skip to content

Commit 644e21b

Browse files
committed
fix tests for latest zig
1 parent 0155a63 commit 644e21b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlite.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4051,8 +4051,8 @@ test "reuse same field twice in query string" {
40514051
}
40524052

40534053
test "fuzzing" {
4054-
const global = struct {
4055-
fn testOne(input: []const u8) anyerror!void {
4054+
const Context = struct {
4055+
fn testOne(_: @This(), input: []const u8) anyerror!void {
40564056
var db = try Db.init(.{
40574057
.mode = .Memory,
40584058
.open_flags = .{
@@ -4114,5 +4114,5 @@ test "fuzzing" {
41144114
}
41154115
};
41164116

4117-
try testing.fuzz(global.testOne, .{});
4117+
try testing.fuzz(Context{}, Context.testOne, .{});
41184118
}

0 commit comments

Comments
 (0)