From 95b60098cd5802970eff9aef321ebfb2d047bbc8 Mon Sep 17 00:00:00 2001 From: Ahmad Assaf Date: Thu, 24 Sep 2020 05:20:04 -0700 Subject: [PATCH] Update helpers.bats Fix the `assert_success` by adding the required `run` --- test/lib/helpers.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/helpers.bats b/test/lib/helpers.bats index d4557300..70481b32 100644 --- a/test/lib/helpers.bats +++ b/test/lib/helpers.bats @@ -20,7 +20,7 @@ function local_setup { # TODO Create global __get_enabled_name function @test "helpers: _command_exists function exists" { - type -a _command_exists &> /dev/null + run type -a _command_exists &> /dev/null assert_success }