We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e5280a commit 25e8083Copy full SHA for 25e8083
src/tests.zig
@@ -198,7 +198,7 @@ test "Zig function integration" {
198
199
// Test 11: Function returning array (should create Lua table with integer indices)
200
try globals.set("arrayFunc", testArrayReturn);
201
- const array_1 = try lua.eval("return arrayFunc(10)[1]", .{}, i32); // Lua is 1-indexed
+ const array_1 = try lua.eval("return arrayFunc(10)[1]", .{}, i32); // Lua is 1-indexed
202
try expectEq(array_1, 10);
203
const array_2 = try lua.eval("return arrayFunc(10)[2]", .{}, i32);
204
try expectEq(array_2, 20);
0 commit comments