summaryrefslogtreecommitdiff
path: root/tests/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.h')
-rw-r--r--tests/test.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test.h b/tests/test.h
index e4123bf..59807d1 100644
--- a/tests/test.h
+++ b/tests/test.h
@@ -1,6 +1,5 @@
#include <pom.h>
-
#if __GNUC__ >= 6
#define ATTRIBUTE_PRINTF(fmt, args) __attribute__ ((format(printf, fmt, args)))
#else
@@ -14,6 +13,8 @@
#endif
void test_fail(PRINTF_FORMAT_STRING const char *, ...) ATTRIBUTE_PRINTF(1, 2);
-void test_parsing(const char *test_dir);
-void test_errors(const char *test_dir);
-void test_location(const char *test_dir);
+void test_parsing(void);
+void test_errors(void);
+void test_location(void);
+char **list_dir(const char *dir, const char *suffix);
+void free_listing(char **listing);