fix: ensure we redirect stderr to stdout for test

This commit is contained in:
Jose Diaz-Gonzalez
2017-03-15 02:55:09 -06:00
parent 0d1c8deb57
commit 91aa5255ec

View File

@@ -41,7 +41,7 @@ build_nginx_config() {
echo "output: "$output
echo "status: "$status
assert_failure
run /bin/bash -c "dokku fakecommand | grep -q 'is not a dokku command'"
run /bin/bash -c "dokku fakecommand 2>&1 | grep -q 'is not a dokku command'"
echo "output: "$output
echo "status: "$status
assert_success