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 a9102df commit a596dc1Copy full SHA for a596dc1
src/ziglua.zig
@@ -1956,6 +1956,10 @@ test "compare" {
1956
try expect(!lua.compare(-1, -2, .lt));
1957
try expect(lua.compare(-2, -1, .le));
1958
try expect(lua.compare(-2, -1, .lt));
1959
+
1960
+ try expect(!lua.rawEqual(-1, -2));
1961
+ lua.pushNumber(2);
1962
+ try expect(lua.rawEqual(-1, -2));
1963
}
1964
1965
test "type of and getting values" {
@@ -2422,7 +2426,6 @@ test "refs" {
2422
2426
_ = Lua.newThread;
2423
2427
_ = Lua.newUserdataUV;
2424
2428
_ = Lua.next;
2425
- _ = Lua.rawEqual;
2429
_ = Lua.rawGetP;
2430
_ = Lua.rawSet;
2431
_ = Lua.rawSetP;
0 commit comments