Skip to content

Commit

Permalink
Merge pull request #5625 from bboozzoo/bboozzoo/fix-extra-snaps-check
Browse files Browse the repository at this point in the history
tests/lib/prepare: fix extra snaps test
  • Loading branch information
bboozzoo committed Aug 10, 2018
2 parents 928e6aa + bdb9700 commit ebc2a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/prepare.sh
Expand Up @@ -410,7 +410,7 @@ EOF
fi

# extra_snap should contain only ONE snap
if "${#extra_snap[@]}" -ne 1; then
if [ "${#extra_snap[@]}" -ne 1 ]; then
echo "unexpected number of globbed snaps: ${extra_snap[*]}"
exit 1
fi
Expand Down

0 comments on commit ebc2a08

Please sign in to comment.