MCPcopy Index your code
hub / github.com/zalando/skipper / TestLoadPluginsFail

Function TestLoadPluginsFail

plugins_test.go:19–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

17}
18
19func TestLoadPluginsFail(t *testing.T) {
20 if testing.Short() {
21 t.Skip()
22 }
23
24 o := Options{
25 PluginDirs: []string{"./_test_plugins_fail"},
26 }
27 if err := o.findAndLoadPlugins(); err == nil {
28 t.Fatalf("did not fail to load plugins: %s", err)
29 }
30}

Callers

nothing calls this directly

Calls 1

findAndLoadPluginsMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…