Skip to content

Commit

Permalink
Run successfully with empty bats files
Browse files Browse the repository at this point in the history
  • Loading branch information
kgadek committed May 16, 2017
1 parent 0360811 commit 4040f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/bats-exec-suite
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4040f76

Please sign in to comment.