diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/macro-tests.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/macro-tests.c b/tests/macro-tests.c index 81a2932..d08b567 100644 --- a/tests/macro-tests.c +++ b/tests/macro-tests.c @@ -1,3 +1,4 @@ +#include <string.h> #include "lily-test.h" #include "tests.h" @@ -5,7 +6,7 @@ const char * test_LILY_LOCATION() { /* do NOT move the following line, or this test will break! */ - if (strcmp(LILY_LOCATION, "tests/macro-tests.c:8") != 0) { + if (strcmp(LILY_LOCATION, "tests/macro-tests.c:8") != 0 && strcmp(LILY_LOCATION, "tests\\macro-tests.c:8") != 0) { return "LILY_LOCATION refers to the wrong location!"; } return 0; @@ -303,7 +304,7 @@ const char * test_LILY_COUNTER_DECREMENT() } -LILY_FILE_BEGIN() +LILY_FILE_BEGIN(unique_identifier) int array[3] = { 0, 0, 0 }; |