From 3be8f4628e2eea1ee1edd352d5c0a63293484f8c Mon Sep 17 00:00:00 2001 From: sanine-a Date: Fri, 2 Jul 2021 22:09:10 -0500 Subject: finish refactoring existing tests into separate files --- src/tests/hs_parse_args_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/hs_parse_args_tests.c') 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); -- cgit v1.2.1