diff --git a/cmd/micro/pluginmanager.go b/cmd/micro/pluginmanager.go index 3ed0f7d7..ad7843e6 100644 --- a/cmd/micro/pluginmanager.go +++ b/cmd/micro/pluginmanager.go @@ -541,7 +541,7 @@ func (pv PluginVersions) install() { shouldInstall := true if pv := currentlyInstalled.find(sel.pack.Name); pv != nil { if pv.Version.NE(sel.Version) { - messenger.AddLog(fmt.Sprint("Uninstalling %q", sel.pack.Name)) + messenger.AddLog("Uninstalling", sel.pack.Name) UninstallPlugin(sel.pack.Name) } else { shouldInstall = false diff --git a/cmd/micro/pluginmanager_test.go b/cmd/micro/pluginmanager_test.go index de12fc45..e7ef5e97 100644 --- a/cmd/micro/pluginmanager_test.go +++ b/cmd/micro/pluginmanager_test.go @@ -36,7 +36,7 @@ func TestDependencyResolving(t *testing.T) { if v == nil { t.Errorf("Failed to resolve %s", name) } else if expected.NE(v.Version) { - t.Errorf("%s resolved in wrong version got %s", name, v) + t.Errorf("%s resolved in wrong version %v", name, v) } }