diff options
author | Mattias Andrée <maandree@kth.se> | 2018-02-20 21:26:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-02-20 21:26:12 +0100 |
commit | 9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5 (patch) | |
tree | c913565a3407876533a552dfe276985f702ca72c | |
parent | Add -s (diff) | |
download | loc-9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5.tar.gz loc-9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5.tar.bz2 loc-9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5.tar.xz |
Update tests2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ loc: loc.o check: loc test "$$(./loc < tests/0)" = 0 test "$$(./loc - < tests/0)" = 0 - test "$$(./loc tests/1 tests/2 | sed 's/: */: /')" = "$$(printf '%s\n' 'tests/1: 0' 'tests/2: 1')" + test "$$(./loc tests/1 tests/2 | sed 's/: */: /')" = "$$(printf '%s\n' 'tests/1: 0' 'tests/2: 1' 1)" + test "$$(./loc -s tests/1 tests/2)" = 1 test "$$(./loc tests/0)" = 0 test "$$(./loc tests/1)" = 0 test "$$(./loc tests/2)" = 1 |