Skip to content

Commit 8bebfb1

Browse files
committed
Add some debug logs, idk
1 parent 10695b0 commit 8bebfb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/root.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3453,9 +3453,13 @@ test "checkStackOrError should raise an error for stack overflow" {
34533453
};
34543454

34553455
lua.pushCFunction(T.Fn);
3456+
std.debug.print("pushed\n", .{});
34563457
const actual = lua.callProtected(0, 0, 0);
3458+
std.debug.print("Called\n", .{});
34573459
try std.testing.expectError(Lua.CallError.Runtime, actual);
3460+
std.debug.print("errored\n", .{});
34583461
try std.testing.expectEqualSlices(u8, "stack overflow (CUSTOM ERROR MESSAGE)", try lua.toLString(-1));
3462+
std.debug.print("message\n", .{});
34593463
}
34603464

34613465
const FailingAllocator = struct {

0 commit comments

Comments
 (0)