(t *testing.T)
| 291 | } |
| 292 | |
| 293 | func TestGet_UnsupportedFormat(t *testing.T) { |
| 294 | tmpDir := createGetTestFiles(t) |
| 295 | resetGetFlags() |
| 296 | taskDir = tmpDir |
| 297 | getFormat = "csv" |
| 298 | |
| 299 | err := runGet(getCmd, []string{"001"}) |
| 300 | if err == nil { |
| 301 | t.Fatal("Expected error for unsupported format") |
| 302 | } |
| 303 | if !strings.Contains(err.Error(), "unsupported format") { |
| 304 | t.Errorf("Expected 'unsupported format' error, got: %v", err) |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | func TestGet_FuzzyMatch_Substring(t *testing.T) { |
| 309 | tmpDir := createGetTestFiles(t) |
nothing calls this directly
no test coverage detected