]> git.lizzy.rs Git - micro.git/blobdiff - cmd/micro/pluginmanager_test.go
Code optimisation (#1117)
[micro.git] / cmd / micro / pluginmanager_test.go
index 25e2203f6293bb35ee4426a3e012349e0c3b90bb..e7ef5e9790f2be46367d9ce971a0ec8f7b69479e 100644 (file)
@@ -1,10 +1,11 @@
 package main
 
 import (
-       "github.com/blang/semver"
        "testing"
 
-       "github.com/zyedidia/json5/encoding/json5"
+       "github.com/blang/semver"
+
+       "github.com/flynn/json5"
 )
 
 func TestDependencyResolving(t *testing.T) {
@@ -35,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)
                }
        }