#!/usr/bin/env bash testGoodMessageShouldBeGreen() { echo ' #!/usr/bin/env bash ⚡️hello() { _good-message "hello" } ' > go echo "source $REPO_ROOT/⚡️" >> go chmod +x go try ./go hello assertEquals "hello" "$STDOUT" } testBadMessageShouldBeRed() { echo ' #!/usr/bin/env bash ⚡️hello() { _bad-message "hello" } ' > go echo "source $REPO_ROOT/⚡️" >> go chmod +x go try ./go hello assertEquals "hello" "$STDOUT" } source $(dirname $0)/runner