Merge pull request #3905 from AdamDang/patch-5

Correct the returned message
pull/3912/head
Matthew Fisher 7 years ago committed by GitHub
commit c34b40d5e4
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