refactor: go back to the old regex

This commit is contained in:
Jose Diaz-Gonzalez
2017-10-01 20:40:05 -04:00
committed by Michael Hobbs
parent 690c32ceb8
commit 5e32f9a89d

View File

@@ -23,7 +23,7 @@ teardown() {
}
@test "(client) no args should print help" {
run bash -c "${BATS_TEST_DIRNAME}/../../contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND <app> \[.+\]'"
run /bin/bash -c "./contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND <app>.*'"
echo "output: "$output
echo "status: "$status
assert_success