attempt 2

This commit is contained in:
Baileyeatspizza 2021-11-08 17:25:39 +00:00
parent b6d724c5b1
commit 6e61878148
2 changed files with 2 additions and 2 deletions

View file

@ -683,7 +683,7 @@ TEST_CASE("Reference")
TEST_CASE("ApiFunctionCalls") TEST_CASE("ApiFunctionCalls")
{ {
StateRef globalState = runConformance("apicalls.lua"); StateRef globalState = runConformance("apicalls.luau");
lua_State* L = globalState.get(); lua_State* L = globalState.get();
lua_getfield(L, LUA_GLOBALSINDEX, "add"); lua_getfield(L, LUA_GLOBALSINDEX, "add");

View file

@ -63,7 +63,7 @@ assert(baz(1, "n") == "baz")
assert(baz(2, "n") == "") -- main/anonymous assert(baz(2, "n") == "") -- main/anonymous
assert(baz(3, "n") == nil) assert(baz(3, "n") == nil)
assert(baz(0, "s") == "[C]") assert(baz(0, "s") == "[C]")
assert(baz(1, "s") == "debug.lua") assert(baz(1, "s") == "debug.luau")
assert(baz(0, "l") == -1) assert(baz(0, "l") == -1)
assert(baz(1, "l") > 42) assert(baz(1, "l") > 42)
assert(baz(0, "f") == debug.info) assert(baz(0, "f") == debug.info)