Correct the returned message

Correct the returned message
pull/3905/head
AdamDang 7 years ago committed by GitHub
parent 3eb1f59f71
commit 9f78c33c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -133,9 +133,9 @@ func TestVCSInstallerNonExistentVersion(t *testing.T) {
}
if err := Install(i); err == nil {
t.Error("expected error for version does not exists, got none")
t.Error("expected error for version does not exist, got none")
} else if err.Error() != fmt.Sprintf("requested version %q does not exist for plugin %q", version, source) {
t.Errorf("expected error for version does not exists, got (%v)", err)
t.Errorf("expected error for version does not exist, got (%v)", err)
}
}
func TestVCSInstallerUpdate(t *testing.T) {

Loading…
Cancel
Save