summaryrefslogtreecommitdiff
path: root/src/tests/hs_parse_args_tests.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2021-07-02 22:09:10 -0500
committersanine-a <sanine.not@pm.me>2021-07-02 22:09:10 -0500
commit3be8f4628e2eea1ee1edd352d5c0a63293484f8c (patch)
treec4cd17e3c000a8600bd044341f9d54841b083156 /src/tests/hs_parse_args_tests.c
parent6416977ea7e2159a67fd6a9877c5e01abe2f8269 (diff)
finish refactoring existing tests into separate files
Diffstat (limited to 'src/tests/hs_parse_args_tests.c')
-rw-r--r--src/tests/hs_parse_args_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/hs_parse_args_tests.c b/src/tests/hs_parse_args_tests.c
index 829c144..e7b331d 100644
--- a/src/tests/hs_parse_args_tests.c
+++ b/src/tests/hs_parse_args_tests.c
@@ -1,5 +1,7 @@
#include "hs_tests.h"
+static int testfunc(lua_State *L) { return 0; }
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* hs_parse_args typechecking tests
@@ -390,8 +392,6 @@ TEST(parse_func)
return 0;
}
-int testfunc(lua_State *L) { return 0; }
-
TEST(parse_cfunc)
{
lua_pushcfunction(L, testfunc);