github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/cf/commands/pluginrepo/plugin_repo_suite_test.go (about)

     1  package pluginrepo_test
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/cf/commands/pluginrepo"
     5  	"code.cloudfoundry.org/cli/cf/i18n"
     6  	"code.cloudfoundry.org/cli/cf/util/testhelpers/configuration"
     7  
     8  	. "github.com/onsi/ginkgo"
     9  	. "github.com/onsi/gomega"
    10  
    11  	"testing"
    12  )
    13  
    14  func TestPluginRepo(t *testing.T) {
    15  	config := configuration.NewRepositoryWithDefaults()
    16  	i18n.T = i18n.Init(config)
    17  
    18  	_ = pluginrepo.RepoPlugins{}
    19  
    20  	RegisterFailHandler(Fail)
    21  	RunSpecs(t, "PluginRepo Suite")
    22  }