Skip to content

Commit

Permalink
one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahalsmiller committed Feb 12, 2024
1 parent 8b58550 commit 44b099c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/consul/test/unit/gateway-resources-configmap.bats
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,10 @@ target=templates/gateway-resources-configmap.yaml
yq -r '.data["config.yaml"]' | yq -r '.gatewayClassConfigs[0].spec.deployment' | tee /dev/stderr)
local actual=$(echo "$config" | yq -r '.nodeSelector')
echo "actual"
echo "${actual}"
echo "expected"
echo '[\n {\n "key": "value"\n }\n]'
[ "${actual}" = '[\n {\n "key": "value"\n }\n]' ]
}
Expand Down

0 comments on commit 44b099c

Please sign in to comment.