From ebf24e6f40f1c6cd322ee16fd1ad004b845bbc5c Mon Sep 17 00:00:00 2001 From: sanine-a Date: Wed, 14 Dec 2022 13:36:56 -0600 Subject: begin refactor --- tests/macro-tests.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/macro-tests.c (limited to 'tests/macro-tests.c') diff --git a/tests/macro-tests.c b/tests/macro-tests.c new file mode 100644 index 0000000..71e9189 --- /dev/null +++ b/tests/macro-tests.c @@ -0,0 +1,12 @@ +#include "lily-test.h" +#include "tests.h" + + +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) { + return "LILY_LOCATION refers to the wrong location!"; + } + return 0; +} -- cgit v1.2.1