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 --- strends.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'strends.c') diff --git a/strends.c b/strends.c index e905451..9934623 100644 --- a/strends.c +++ b/strends.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "libsimple.h" +#ifndef TEST int @@ -9,8 +10,8 @@ libsimple_strends(const char *s, const char *t) } -#ifdef TEST -#include +#else +#include "test.h" int main(void) -- cgit v1.2.3-70-g09d2