aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-02-20 22:05:31 +0100
committerMattias Andrée <maandree@kth.se>2018-02-20 22:05:31 +0100
commit758a0991b2c267b2cd67914925a8b9d398528656 (patch)
treef4b40f254d27de5a997953cf500766048f6228fb
parentUpdate tests (diff)
downloadloc-758a0991b2c267b2cd67914925a8b9d398528656.tar.gz
loc-758a0991b2c267b2cd67914925a8b9d398528656.tar.bz2
loc-758a0991b2c267b2cd67914925a8b9d398528656.tar.xz
Add missing test case
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile1
-rw-r--r--tests/402
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b00b29..c8ef546 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,7 @@ check: loc
test "$$(./loc tests/37)" = 1
test "$$(./loc tests/38)" = 0
test "$$(./loc tests/39)" = 1
+ test "$$(./loc tests/40)" = 2
install: loc
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin/"
diff --git a/tests/40 b/tests/40
new file mode 100644
index 0000000..74bc992
--- /dev/null
+++ b/tests/40
@@ -0,0 +1,2 @@
+x/*
+*/y