diff options
author | Mattias Andrée <maandree@kth.se> | 2022-01-24 18:14:25 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-01-24 18:14:25 +0100 |
commit | d44af0e0863c192e1d1513519a2b8f0651fb9b31 (patch) | |
tree | 1fb530607b7067c0985c58b2e84f8511c86396f2 /tests | |
parent | test: print symbol names to exit codes (diff) | |
download | makel-d44af0e0863c192e1d1513519a2b8f0651fb9b31.tar.gz makel-d44af0e0863c192e1d1513519a2b8f0651fb9b31.tar.bz2 makel-d44af0e0863c192e1d1513519a2b8f0651fb9b31.tar.xz |
Add more test cases
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/comment_cont.mk | 3 | ||||
-rw-r--r-- | tests/cont_without_ws.mk | 3 | ||||
-rw-r--r-- | tests/noninitial_bad_ws.mk | 2 | ||||
-rw-r--r-- | tests/unindented_cont.mk | 3 |
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/comment_cont.mk b/tests/comment_cont.mk new file mode 100644 index 0000000..95b2635 --- /dev/null +++ b/tests/comment_cont.mk @@ -0,0 +1,3 @@ +#:2: +#\ + this line is a comment because of the continuation above diff --git a/tests/cont_without_ws.mk b/tests/cont_without_ws.mk new file mode 100644 index 0000000..0b70d30 --- /dev/null +++ b/tests/cont_without_ws.mk @@ -0,0 +1,3 @@ +#:2: +OBJ = make-will-actually\ +insert-a-whitespace diff --git a/tests/noninitial_bad_ws.mk b/tests/noninitial_bad_ws.mk new file mode 100644 index 0000000..93ad40e --- /dev/null +++ b/tests/noninitial_bad_ws.mk @@ -0,0 +1,2 @@ +#:6: + foo: bar # This line is preceded by a vertical tab following a <space> diff --git a/tests/unindented_cont.mk b/tests/unindented_cont.mk new file mode 100644 index 0000000..ebd5adc --- /dev/null +++ b/tests/unindented_cont.mk @@ -0,0 +1,3 @@ +#:2: +OBJ = \ +obj.o |