summaryrefslogtreecommitdiff
path: root/lily-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lily-test.c')
-rw-r--r--lily-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lily-test.c b/lily-test.c
index 9b54021..cae4657 100644
--- a/lily-test.c
+++ b/lily-test.c
@@ -1,6 +1,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "lily-test.h"
struct lily_globals_t _lily_globals;
@@ -66,7 +67,7 @@ void _lily_assert_true(const char *statement, bool value, const char *location)
void _lily_assert_false(const char *statement, bool value, const char *location)
{
- lily_assert_msg(value, location,
+ lily_assert_msg(!value, location,
"%s is not false",
statement);
}