(t *testing.T)
| 360 | } |
| 361 | |
| 362 | func TestTracks_UnsupportedFormat(t *testing.T) { |
| 363 | tmpDir := createTracksTestTaskFiles(t) |
| 364 | resetTracksFlags() |
| 365 | tracksFormat = "csv" |
| 366 | |
| 367 | _, err := captureTracksOutput(t, []string{tmpDir}) |
| 368 | if err == nil { |
| 369 | t.Fatal("Expected error for unsupported format") |
| 370 | } |
| 371 | if !strings.Contains(err.Error(), "unsupported format") { |
| 372 | t.Errorf("Expected 'unsupported format' error, got: %v", err) |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | func TestTracks_FilterFlag(t *testing.T) { |
| 377 | tmpDir := createTracksTestTaskFiles(t) |
nothing calls this directly
no test coverage detected