diff --git a/test/remove_command.bats b/test/remove_command.bats index d6df5e39..a88897d5 100644 --- a/test/remove_command.bats +++ b/test/remove_command.bats @@ -25,7 +25,7 @@ teardown() { @test "plugin_remove_command should exit with 1 when not passed any arguments" { run plugin_remove_command [ "$status" -eq 1 ] - [ "$output" = "No such plugin" ] + [ "$output" = "No plugin given" ] } @test "plugin_remove_command should exit with 1 when passed invalid plugin name" { @@ -69,4 +69,4 @@ teardown() { # unrelated shim should exist [ -f $ASDF_DIR/shims/gummy ] -} \ No newline at end of file +} diff --git a/test/utils.bats b/test/utils.bats index 16b92a5a..52d25390 100644 --- a/test/utils.bats +++ b/test/utils.bats @@ -19,7 +19,7 @@ teardown() { @test "check_if_version_exists should exit with 1 if plugin does not exist" { run check_if_version_exists "inexistent" "1.0.0" [ "$status" -eq 1 ] - [ "$output" = "version 1.0.0 is not installed for inexistent" ] + [ "$output" = "No such plugin" ] } @test "check_if_version_exists should exit with 1 if version does not exist" {