aboutsummaryrefslogtreecommitdiffstats
path: root/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'vasprintf.c')
-rw-r--r--vasprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vasprintf.c b/vasprintf.c
index 9ce1998..fd14650 100644
--- a/vasprintf.c
+++ b/vasprintf.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
int
@@ -26,8 +27,8 @@ fail:
}
-#ifdef TEST
-#include <assert.h>
+#else
+#include "test.h"
int
main(void)