diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/teliva.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/teliva.c b/src/teliva.c index 65f2acc..50ab015 100644 --- a/src/teliva.c +++ b/src/teliva.c @@ -1230,6 +1230,8 @@ static int run_tests(lua_State* L) { lua_pop(L, 1); if (first_failure_clear) lua_setglobal(L, "teliva_first_failure"); + else + lua_pop(L, 1); } lua_pushnil(L); /* just to undo loop update */ } |