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 committed 2017-03-15 02:44:38 -06:00
1 parent 06d2ffaa14
commit 0d1c8deb57
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ teardown() {
} }
@test "(checks) checks" { @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 "output: "$output
echo "status: "$status echo "status: "$status
assert_output "$TEST_APP none none" assert_output "$TEST_APP none none"