Unverified Commit c34b40d5 authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

Merge pull request #3905 from AdamDang/patch-5

Correct the returned message
parents 3eb1f59f 9f78c33c
...@@ -133,9 +133,9 @@ func TestVCSInstallerNonExistentVersion(t *testing.T) { ...@@ -133,9 +133,9 @@ func TestVCSInstallerNonExistentVersion(t *testing.T) {
} }
if err := Install(i); err == nil { 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) { } 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) { func TestVCSInstallerUpdate(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment