6 "github.com/zyedidia/micro/internal/config"
10 config.InitConfigDir("./")
13 var sampleJson = []byte(`{
15 "description": "Plugin to auto comment or uncomment lines",
16 "website": "https://github.com/micro-editor/comment-plugin",
17 "repository": "https://github.com/micro-editor/comment-plugin",
34 "version": "1.0.6-dev",
43 func TestParse(t *testing.T) {
44 _, err := NewPluginInfo(sampleJson)
50 // func TestFetch(t *testing.T) {
51 // i, err := NewPluginInfoFromUrl("http://zbyedidia.webfactional.com/micro/test.json")
56 // err = i.FetchRepo()
62 // func TestList(t *testing.T) {
63 // is, err := ListInstalledPlugins()
68 // for _, i := range is {