From 91aa5255ec1a51d5d5fc75649cf47a523c087de9 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 15 Mar 2017 02:55:09 -0600 Subject: [PATCH] fix: ensure we redirect stderr to stdout for test --- tests/unit/40_core_2.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/40_core_2.bats b/tests/unit/40_core_2.bats index 03bbee8ec..561901491 100644 --- a/tests/unit/40_core_2.bats +++ b/tests/unit/40_core_2.bats @@ -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