refactor: use grep -E instead of egrep
This commit is contained in:
1 parent
edfec35177
commit
7d73577952
1 file changed
+1
-1
@@ -23,7 +23,7 @@ teardown() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "(client) no args should print help" {
|
@test "(client) no args should print help" {
|
||||||
run /bin/bash -c "./contrib/dokku_client.sh | head -1 | egrep -q '^Usage: dokku \[.+\] COMMAND <app> \[.+\]'"
|
run /bin/bash -c "./contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND <app> \[.+\]'"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
|
|||||||
Reference in new issue
Block a user