fix: redirect error output to /dev/null

The checks command is deprecated, so the warning was being captured.
This commit is contained in:
Jose Diaz-Gonzalez
2017-03-13 02:00:24 -06:00
parent 06d2ffaa14
commit 0d1c8deb57

View File

@@ -17,7 +17,7 @@ teardown() {
}
@test "(checks) checks" {
run bash -c "dokku checks $TEST_APP| grep $TEST_APP | xargs"
run bash -c "dokku checks $TEST_APP 2> /dev/null | grep $TEST_APP | xargs"
echo "output: "$output
echo "status: "$status
assert_output "$TEST_APP none none"