Skip to content

Commit

Permalink
bash '[[' vs. '[' in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Dec 3, 2021
1 parent 4fe7777 commit 8a79281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform_provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
if [ "${pkg}" = "" ]; then
continue
fi
if [ "${pkg}" = "*/test-fixtures" ]; then
if [[ "${pkg}" == */test-fixtures ]]; then
continue
fi
while read file; do
Expand All @@ -255,7 +255,7 @@ jobs:
if [ "${pkg}" = "internal/sweep" ]; then
continue
fi
if [ "${pkg}" = "*/test-fixtures" ]; then
if [[ "${pkg}" == */test-fixtures ]]; then
continue
fi
go test -run ^Test[^A][^c][^c] "github.com/hashicorp/terraform-provider-aws/${pkg}"
Expand Down

0 comments on commit 8a79281

Please sign in to comment.