From 5e32f9a89d384d6d46627b4dc9dbb1c69e084403 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 1 Oct 2017 20:40:05 -0400 Subject: [PATCH] refactor: go back to the old regex --- tests/unit/30_client.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/30_client.bats b/tests/unit/30_client.bats index f2670a330..6eabb2571 100644 --- a/tests/unit/30_client.bats +++ b/tests/unit/30_client.bats @@ -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 \[.+\]'" + run /bin/bash -c "./contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND .*'" echo "output: "$output echo "status: "$status assert_success