Fixed tests
authorLukas Krickl <lukas@krickl.dev>
Sun, 12 Nov 2023 17:36:52 +0000 (18:36 +0100)
committerLukas Krickl <lukas@krickl.dev>
Sun, 12 Nov 2023 17:36:52 +0000 (18:36 +0100)
src/test.c

index ab04ee6eba0fb2b7d401dbd3d44447cbbe5fda08..f5badfdf7b55dd5ac29259b4ee97d9361937b8ba 100644 (file)
@@ -116,7 +116,7 @@ void test_preproc(void) {
                  "#macro test\ntest macro with no args\n#endmacro\ntest");
   assert_preproc("", -1, "#macro test\n not terminated\n");
   assert_preproc(
-      "nested macro t1\nafter\ncontent n1\n\n", 0,
+      "nested macro t1\nafter\ncontent n1\n", 0,
       "#macro test\nnested macro $1\n#macro "
       "nested\ncontent $1\n#endmacro\nafter\nnested n1\n#endmacro\ntest t1");