Update harness.go

This commit is contained in:
Jeff Regan
2019-12-02 18:47:07 -08:00
committed by GitHub
parent 8e99dbdaf0
commit fd5db20a48

View File

@@ -75,7 +75,7 @@ func (th Harness) MakeOptionsPluginsEnabled() krusty.Options {
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().")
"bookended by calls to MakeEnhancedHarness(), Reset().")
}
th.t.Fatal(err)
}