From 0d1c8deb57e2521a716f7b880657f7d8a19c0ea2 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 13 Mar 2017 02:00:24 -0600 Subject: [PATCH] fix: redirect error output to /dev/null The checks command is deprecated, so the warning was being captured. --- tests/unit/10_checks.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/10_checks.bats b/tests/unit/10_checks.bats index c0a8fafc5..085c190d0 100644 --- a/tests/unit/10_checks.bats +++ b/tests/unit/10_checks.bats @@ -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"