1
0
mirror of https://github.com/sstephenson/bats.git synced 2026-02-26 09:48:10 +01:00

bats_test_info -> bats_test_begin; begin calls setup

This commit is contained in:
Sam Stephenson
2013-10-21 11:21:17 -05:00
parent a773171777
commit 7849374964
2 changed files with 4 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ while IFS= read -r line; do
name="$(eval echo "$quoted_name")"
encoded_name="$(encode_name "$name")"
tests["${#tests[@]}"]="$encoded_name"
echo "${encoded_name}() { bats_test_info ${quoted_name} ${index}"
echo "${encoded_name}() { bats_test_begin ${quoted_name} ${index}"
else
printf "%s\n" "$line"
fi