]> git.lizzy.rs Git - micro.git/blobdiff - cmd/micro/pluginmanager_test.go
Add cd and pwd commands to change the working dir
[micro.git] / cmd / micro / pluginmanager_test.go
index 48a9201e78ebe251a2c9584fb20dd73d01da82ee..25e2203f6293bb35ee4426a3e012349e0c3b90bb 100644 (file)
@@ -1,9 +1,10 @@
 package main
 
 import (
-       "encoding/json"
        "github.com/blang/semver"
        "testing"
+
+       "github.com/zyedidia/json5/encoding/json5"
 )
 
 func TestDependencyResolving(t *testing.T) {
@@ -20,7 +21,7 @@ func TestDependencyResolving(t *testing.T) {
        }]
 `
        var all PluginPackages
-       err := json.Unmarshal([]byte(js), &all)
+       err := json5.Unmarshal([]byte(js), &all)
        if err != nil {
                t.Error(err)
        }