MCPcopy Create free account
hub / github.com/driangle/taskmd / TestLoadConfig_MissingFile

Function TestLoadConfig_MissingFile

apps/cli/internal/sync/config_test.go:81–88  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

79}
80
81func TestLoadConfig_MissingFile(t *testing.T) {
82 dir := t.TempDir()
83
84 _, err := LoadConfig(dir)
85 if err == nil {
86 t.Fatal("expected error for missing config file")
87 }
88}
89
90func TestLoadConfig_MalformedYAML(t *testing.T) {
91 dir := t.TempDir()

Callers

nothing calls this directly

Calls 1

LoadConfigFunction · 0.85

Tested by

no test coverage detected