From c6a108e0122c8ddc57f8d12a151908abec4fe562 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 7 Feb 2002 15:26:33 -0200 Subject: [PATCH] test for lua_pushbool --- ltests.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ltests.c b/ltests.c index ea61c741..42fbc64e 100644 --- a/ltests.c +++ b/ltests.c @@ -561,6 +561,9 @@ static int testC (lua_State *L) { else if EQ("pushnum") { lua_pushnumber(L, getnum); } + else if EQ("pushbool") { + lua_pushboolean(L, getnum); + } else if EQ("pushvalue") { lua_pushvalue(L, getnum); }