diff options
author | sanine-a <sanine.not@pm.me> | 2022-12-14 13:36:56 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2022-12-14 13:36:56 -0600 |
commit | ebf24e6f40f1c6cd322ee16fd1ad004b845bbc5c (patch) | |
tree | 33cea54b9d0123bf1d7f1d59d2c9dc75a1e6e350 /tests/macro-tests.c | |
parent | 64477ce06280b8882730459d627ae7028b15bbeb (diff) |
begin refactor
Diffstat (limited to 'tests/macro-tests.c')
-rw-r--r-- | tests/macro-tests.c | 12 |
1 files changed, 12 insertions, 0 deletions
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; +} |