From 3e746c51b3adcf97e4d11be30bfd91c8aaf2c2ba Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 18 Aug 2018 23:40:11 +0200 Subject: Fix and run tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- strcaseends.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'strcaseends.c') diff --git a/strcaseends.c b/strcaseends.c index 6ff9d8b..adbebe4 100644 --- a/strcaseends.c +++ b/strcaseends.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "libsimple.h" +#ifndef TEST int @@ -13,8 +14,8 @@ libsimple_strcaseends(const char *s, const char *t) } -#ifdef TEST -#include +#else +#include "test.h" int main(void) -- cgit v1.2.3-70-g09d2