MCPcopy Index your code
hub / github.com/helm/helm / TestLoadAllDir_Empty

Function TestLoadAllDir_Empty

internal/plugin/loader_test.go:207–212  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

205}
206
207func TestLoadAllDir_Empty(t *testing.T) {
208 emptyDir := t.TempDir()
209 plugs, err := LoadAllDir(emptyDir, func(_ string, err error) error { return err })
210 require.NoError(t, err)
211 assert.Len(t, plugs, 0)
212}
213
214func TestLoadAllPluginsDir(t *testing.T) {
215 basedir := "testdata/plugdir/good"

Callers

nothing calls this directly

Calls 2

LoadAllDirFunction · 0.85
LenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…