Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Run successfully with empty bats files #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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