From 4040f7600c67990209c1d7e01aa566aa8c5c46fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20G=C4=85dek?= Date: Tue, 16 May 2017 15:40:12 +0200 Subject: [PATCH] Run successfully with empty bats files Closes #219 --- libexec/bats-exec-suite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/bats-exec-suite b/libexec/bats-exec-suite index 29ab255d..ad4a892a 100755 --- a/libexec/bats-exec-suite +++ b/libexec/bats-exec-suite @@ -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