1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 03:32:27 +01:00

Run successfully with empty bats files

Closes #219
This commit is contained in:
Konrad Gądek 2017-05-16 15:40:12 +02:00
parent 03608115df
commit 4040f7600c

View File

@ -17,7 +17,7 @@ trap "kill 0; exit 1" int
count=0
for filename in "$@"; do
let count+="$(bats-exec-test -c "$filename")"
let count+="$(bats-exec-test -c "$filename")" 1
done
if [ -n "$count_only_flag" ]; then