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 1f362be commit 48d51ebCopy full SHA for 48d51eb
src/ziglua.zig
@@ -2202,6 +2202,9 @@ test "string buffers" {
2202
std.mem.copy(u8, b, "defghijklmnopqrstuvwxyz");
2203
buffer.pushResultSize(23);
2204
try expectEqualStrings("abcdefghijklmnopqrstuvwxyz", lua.toString(-1).?);
2205
+
2206
+ lua.len(-1);
2207
+ try expectEqual(@as(Integer, 26), lua.toInteger(-1));
2208
}
2209
2210
test "global table" {
@@ -2337,7 +2340,6 @@ test "refs" {
2337
2340
_ = Lua.getMetatable;
2338
2341
_ = Lua.isUserdata;
2339
2342
_ = Lua.isYieldable;
- _ = Lua.len;
2343
_ = Lua.load;
2344
_ = Lua.newThread;
2345
_ = Lua.newUserdataUV;
0 commit comments