Skip to content

Commit 09c73eb

Browse files
committed
test: activate incidentally solved won't fix tests
1 parent d0ac149 commit 09c73eb

8 files changed

Lines changed: 9 additions & 14 deletions

File tree

File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
v 16 NON;IF;(old: -1, diff: -1, new: -1);(old: -1, diff: -1, new: -1);True
2-
v 144 NON;IF;(old: 1, diff: 1, new: 1);(old: 3, diff: 3, new: 3);A;# \; ifdef A
3-
e 144 16 ba;0;0
2+
v 144 NON;IF;(old: 1, diff: 1, new: 1);(old: 3, diff: 3, new: 3);defined(A);# \; ifdef A
3+
e 144 16 ba;0,0
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
v 16 NON;IF;(old: -1, diff: -1, new: -1);(old: -1, diff: -1, new: -1);True
2+
v 147 NON;ARTIFACT;(old: 1, diff: 1, new: 1);(old: 4, diff: 4, new: 4);;/* This is a comment, so it's removed before the preprocessor is run; #ifdef A; */
3+
e 147 16 ba;0,0
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
v 16 NON;IF;(old: -1, diff: -1, new: -1);(old: -1, diff: -1, new: -1);True
2-
v 144 NON;IF;(old: 1, diff: 1, new: 1);(old: 4, diff: 4, new: 4);A;#ifdef /*; * Comment; */ A
3-
e 144 16 ba;0;0
2+
v 144 NON;IF;(old: 1, diff: 1, new: 1);(old: 4, diff: 4, new: 4);defined(A);#ifdef /*; * Comment; */ A
3+
e 144 16 ba;0,0

src/test/resources/diffs/parser/wontfix/03_expected.lg

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Test cases of WONTFIX behaviour
22

33
## Sophisticated comment parsing
4-
The test cases 01 and 02 would require the removal of comments before checking
5-
if a line is a macro. The test cases 03 and 04 would required the detection of
6-
multi-line macros which span multiple lines.
4+
The test case 02 would require the removal of comments before checking
5+
if a line is a macro.
76

87
All of these cases require more engineering than they are worth because they
98
should be pretty rare in practice.

0 commit comments

Comments
 (0)