(t *testing.T)
| 308 | } |
| 309 | |
| 310 | func TestLoadProject_MissingComposeFile(t *testing.T) { |
| 311 | service, err := NewComposeService(nil) |
| 312 | assert.NilError(t, err) |
| 313 | |
| 314 | // Should return an error for missing file |
| 315 | project, err := service.LoadProject(t.Context(), api.ProjectLoadOptions{ |
| 316 | ConfigPaths: []string{"/nonexistent/compose.yaml"}, |
| 317 | }) |
| 318 | |
| 319 | assert.Assert(t, err != nil) |
| 320 | assert.Assert(t, project == nil) |
| 321 | } |
nothing calls this directly
no test coverage detected