aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/testmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testmod.c b/tests/testmod.c
index a0d2e2a..9232682 100644
--- a/tests/testmod.c
+++ b/tests/testmod.c
@@ -225,9 +225,9 @@ static int test_uservalue (lua_State *L) {
225 int ui = lua_gettop(L); 225 int ui = lua_gettop(L);
226 lua_newtable(L); 226 lua_newtable(L);
227 lua_setuservalue(L, ui); 227 lua_setuservalue(L, ui);
228 lua_getuservalue(L, ui); 228 lua_pushinteger(L, lua_getuservalue(L, ui));
229 (void)udata; 229 (void)udata;
230 return 1; 230 return 2;
231} 231}
232 232
233static int test_upvalues (lua_State *L) { 233static int test_upvalues (lua_State *L) {