(t *testing.T)
| 98 | } |
| 99 | |
| 100 | func TestLoadConfig_NoSources(t *testing.T) { |
| 101 | dir := t.TempDir() |
| 102 | writeFile(t, filepath.Join(dir, ".taskmd.yaml"), "sync:\n sources: []\n") |
| 103 | |
| 104 | _, err := LoadConfig(dir) |
| 105 | if err == nil { |
| 106 | t.Fatal("expected error for empty sources") |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | func TestLoadConfig_MissingName(t *testing.T) { |
| 111 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected