From 9bf3d6ddf891c4ec75205e6e5b1ea21b203eadd5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 20 Feb 2018 21:26:12 +0100 Subject: Update tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24417a8..5b00b29 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2