aboutsummaryrefslogtreecommitdiffstats
path: root/strstarts.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--strstarts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/strstarts.c b/strstarts.c
index f2db947..b476222 100644
--- a/strstarts.c
+++ b/strstarts.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
int
@@ -10,8 +11,8 @@ libsimple_strstarts(const char *s, const char *t)
}
-#ifdef TEST
-#include <assert.h>
+#else
+#include "test.h"
int
main(void)