mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Consistent variable naming
This commit is contained in:
parent
f94276736f
commit
18ea9c3206
1 changed files with 3 additions and 3 deletions
|
@ -1169,10 +1169,10 @@ TEST_CASE("AllocApi")
|
|||
StateRef globalState(lua_newstate(limitedRealloc, &ud), lua_close);
|
||||
lua_State* L = globalState.get();
|
||||
|
||||
void* ud_check = nullptr;
|
||||
bool allocfIsSet = lua_getallocf(L, &ud_check) == limitedRealloc;
|
||||
void* udCheck = nullptr;
|
||||
bool allocfIsSet = lua_getallocf(L, &udCheck) == limitedRealloc;
|
||||
CHECK(allocfIsSet);
|
||||
CHECK(ud_check == &ud);
|
||||
CHECK(udCheck == &ud);
|
||||
}
|
||||
|
||||
#if !LUA_USE_LONGJMP
|
||||
|
|
Loading…
Add table
Reference in a new issue