(t *testing.T)
| 261 | } |
| 262 | |
| 263 | func TestLoadAgentConfigFileNotFound(t *testing.T) { |
| 264 | loader := NewLoader() |
| 265 | _, err := loader.LoadAgentConfig("/nonexistent/path/config.yaml") |
| 266 | if err == nil { |
| 267 | t.Error("expected error for nonexistent file") |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | func TestLoadAgentConfigInvalidYAML(t *testing.T) { |
| 272 | tmpDir := t.TempDir() |
nothing calls this directly
no test coverage detected