summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------src/tests/.#hs_create_table_tests.c1
-rw-r--r--src/tests/hs_create_table_tests.c2
-rw-r--r--src/tests/hs_parse_args_tests.c4
-rw-r--r--src/tests/hs_parse_overloaded_tests.c2
-rw-r--r--src/tests/hs_tests.h11
5 files changed, 7 insertions, 13 deletions
diff --git a/src/tests/.#hs_create_table_tests.c b/src/tests/.#hs_create_table_tests.c
new file mode 120000
index 0000000..68ed537
--- /dev/null
+++ b/src/tests/.#hs_create_table_tests.c
@@ -0,0 +1 @@
+kate@amalthea.194602:1624721630 \ No newline at end of file
diff --git a/src/tests/hs_create_table_tests.c b/src/tests/hs_create_table_tests.c
index feca8f5..8a8ebe2 100644
--- a/src/tests/hs_create_table_tests.c
+++ b/src/tests/hs_create_table_tests.c
@@ -1,5 +1,7 @@
#include "hs_tests.h"
+int testfunc(lua_State *L) { return 0; }
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* tests for hs_create_table
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);
diff --git a/src/tests/hs_parse_overloaded_tests.c b/src/tests/hs_parse_overloaded_tests.c
index de364db..812aab5 100644
--- a/src/tests/hs_parse_overloaded_tests.c
+++ b/src/tests/hs_parse_overloaded_tests.c
@@ -1,5 +1,7 @@
#include "hs_tests.h"
+static int testfunc(lua_State *L) { return 0; }
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* tests for hs_parse_overloaded
diff --git a/src/tests/hs_tests.h b/src/tests/hs_tests.h
index df73318..23d480a 100644
--- a/src/tests/hs_tests.h
+++ b/src/tests/hs_tests.h
@@ -42,14 +42,3 @@ void hs_call_tests();
void hs_call_args_tests();
void hs_pushstring_tests();
void hs_rxx_tests();
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * tests for hs_create_enum
- *
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- */
-
-#define check_value(string, value)
-
-