We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10695b0 commit 8bebfb1Copy full SHA for 8bebfb1
src/root.zig
@@ -3453,9 +3453,13 @@ test "checkStackOrError should raise an error for stack overflow" {
3453
};
3454
3455
lua.pushCFunction(T.Fn);
3456
+ std.debug.print("pushed\n", .{});
3457
const actual = lua.callProtected(0, 0, 0);
3458
+ std.debug.print("Called\n", .{});
3459
try std.testing.expectError(Lua.CallError.Runtime, actual);
3460
+ std.debug.print("errored\n", .{});
3461
try std.testing.expectEqualSlices(u8, "stack overflow (CUSTOM ERROR MESSAGE)", try lua.toLString(-1));
3462
+ std.debug.print("message\n", .{});
3463
}
3464
3465
const FailingAllocator = struct {
0 commit comments