mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 10:00:56 +00:00
Move another test up.
This commit is contained in:
@@ -56,6 +56,11 @@ func (th testingHarness) MakeOptionsPluginsDisabled() Options {
|
||||
func (th testingHarness) MakeOptionsPluginsEnabled() Options {
|
||||
c, err := konfig.EnabledPluginConfig()
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "unable to find plugin root") {
|
||||
th.t.Log(
|
||||
"Tests that want to run with plugins enabled must be " +
|
||||
"bookended by calls to NewPluginTestEnv.Set(), Reset().")
|
||||
}
|
||||
th.t.Fatal(err)
|
||||
}
|
||||
return Options{
|
||||
|
||||
Reference in New Issue
Block a user