fix: ensure we redirect stderr to stdout for test
This commit is contained in:
1 parent
0d1c8deb57
commit
91aa5255ec
1 file changed
+1
-1
@@ -41,7 +41,7 @@ build_nginx_config() {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_failure
|
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 "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
|
|||||||
Reference in new issue
Block a user