(t *testing.T)
| 238 | } |
| 239 | |
| 240 | func TestStatus_UnsupportedFormat(t *testing.T) { |
| 241 | tmpDir := createStatusTestFiles(t) |
| 242 | resetStatusFlags() |
| 243 | taskDir = tmpDir |
| 244 | statusFormat = "csv" |
| 245 | |
| 246 | err := runStatus(statusCmd, []string{"001"}) |
| 247 | if err == nil { |
| 248 | t.Fatal("Expected error for unsupported format") |
| 249 | } |
| 250 | if !strings.Contains(err.Error(), "unsupported format") { |
| 251 | t.Errorf("Expected 'unsupported format' error, got: %v", err) |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | func TestStatus_TaskNotFound_ExactMode(t *testing.T) { |
| 256 | tmpDir := createStatusTestFiles(t) |
nothing calls this directly
no test coverage detected