change pluginmanager json to json5

This commit is contained in:
Florian Sundermann
2016-09-27 13:28:32 +02:00
parent 55c790f069
commit 23ef69b935
2 changed files with 8 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
package main
import (
"encoding/json"
"github.com/blang/semver"
"testing"
"github.com/yosuke-furukawa/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)
}