Skip to content

Commit 5091b54

Browse files
committed
updated test_validate_yaml.sh
1 parent b64eba0 commit 5091b54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_validate_yaml.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ echo "Now trying non-yaml files to detect successful failure:"
7979
check_broken(){
8080
local filename="$1"
8181
local expected_exitcode="${2:-2}"
82-
local options="${@:3}"
82+
local options="${*:3}"
8383
set +e
84+
# shellcheck disable=SC2086
8485
./validate_yaml.py -t 1 $options "$filename"
8586
exitcode=$?
8687
set -e

0 commit comments

Comments
 (0)