MCPcopy Index your code
hub / github.com/go-task/task / TestGetConfig_NoConfigFiles

Function TestGetConfig_NoConfigFiles

taskrc/taskrc_test.go:59–65  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func TestGetConfig_NoConfigFiles(t *testing.T) { //nolint:paralleltest // cannot run in parallel
60 _, _, localDir := setupDirs(t)
61
62 cfg, err := GetConfig(localDir)
63 assert.NoError(t, err)
64 assert.Nil(t, cfg)
65}
66
67func TestGetConfig_OnlyXDG(t *testing.T) { //nolint:paralleltest // cannot run in parallel
68 xdgDir, _, localDir := setupDirs(t)

Callers

nothing calls this directly

Calls 2

setupDirsFunction · 0.85
GetConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…