Skip to content

Commit d4b1eab

Browse files
authored
[easy][plugins] Fix test (#1294)
## Summary TSIA ## How was it tested?
1 parent 902b966 commit d4b1eab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/plugins/github/test.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
expected="I AM SET (new value)"
44
custom_expected="I AM SET TO CUSTOM (new value)"
5-
if [ "$MY_ENV_VAR" == "$expected" ] && [ "$MY_ENV_VAR_CUSTOM" == "$MY_ENV_VAR_CUSTOM" ]; then
5+
if [ "$MY_ENV_VAR" == "$expected" ] && [ "$MY_ENV_VAR_CUSTOM" == "$custom_expected" ]; then
66
echo "Success! MY_ENV_VAR is set to '$MY_ENV_VAR'"
77
echo "Success! MY_ENV_VAR_CUSTOM is set to '$MY_ENV_VAR_CUSTOM'"
88
else
9-
echo "MY_ENV_VAR environment variable is not set to '$expected'"
10-
echo "MY_ENV_VAR MY_ENV_VAR_CUSTOM variable is not set to '$MY_ENV_VAR_CUSTOM'"
9+
echo "ERROR: MY_ENV_VAR environment variable is not set to '$expected' OR MY_ENV_VAR_CUSTOM variable is not set to '$custom_expected'"
1110
exit 1
1211
fi

0 commit comments

Comments
 (0)