summaryrefslogtreecommitdiff
path: root/tests/assertions.c
blob: 5fb5e8de0f2eb09ab01cf45b30310398f959de5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <string.h>

#include "lily-test.h"
#include "tests.h"

const char *test_LILY_LOCATION()
{
   // if you move this line, you MUST update the expected string!
   const char *location = LILY_LOCATION;
   int diff = strcmp(location, "tests/assertions.c:10");
   if (diff != 0)
      return "LILY_LOCATION did not resolve correctly!";

   return 0;
}