We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9d32e8 commit 70bd3c6Copy full SHA for 70bd3c6
1 file changed
src/tests.zig
@@ -1995,7 +1995,7 @@ test "debug upvalues" {
1995
_ = try lua.setUpvalue(-2, 1);
1996
1997
// test a bad index (the valid one's result is unpredicable)
1998
- if (zlua.lang == .lua54) try expectError(error.LuaError, lua.upvalueId(-1, 2));
+ if (zlua.lang == .lua54 or zlua.lang == .lua55) try expectError(error.LuaError, lua.upvalueId(-1, 2));
1999
2000
// call the new function (should return 7)
2001
lua.pushNumber(2);
0 commit comments