mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix tests that were failing due to improved error messages.
This commit is contained in:
parent
0f7757a910
commit
564b9ed517
@ -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 ]
|
||||
}
|
||||
}
|
||||
|
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user