(t *testing.T)
| 185 | } |
| 186 | |
| 187 | func TestTracks_TableFormat(t *testing.T) { |
| 188 | tmpDir := createTracksTestTaskFiles(t) |
| 189 | resetTracksFlags() |
| 190 | tracksFormat = "table" |
| 191 | |
| 192 | output, err := captureTracksOutput(t, []string{tmpDir}) |
| 193 | if err != nil { |
| 194 | t.Fatalf("runTracks failed: %v", err) |
| 195 | } |
| 196 | |
| 197 | if !strings.Contains(output, "Track") { |
| 198 | t.Error("Expected table output to contain 'Track'") |
| 199 | } |
| 200 | if !strings.Contains(output, "Flexible") { |
| 201 | t.Error("Expected table output to contain 'Flexible'") |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | func TestTracks_OverlapSameTrack(t *testing.T) { |
| 206 | tmpDir := createTracksTestTaskFiles(t) |
nothing calls this directly
no test coverage detected