(t *testing.T)
| 749 | } |
| 750 | |
| 751 | func TestPrintImportTable_QuietMode(t *testing.T) { |
| 752 | result := &sync.ImportResult{ |
| 753 | Created: []sync.ImportAction{{ExternalID: "1", LocalID: "001", Title: "Task"}}, |
| 754 | } |
| 755 | summary := importSummary{Total: 1, Created: 1} |
| 756 | |
| 757 | output := capturePrintImportTable(t, result, summary, true) |
| 758 | |
| 759 | if output != "" { |
| 760 | t.Errorf("expected no output in quiet mode, got %q", output) |
| 761 | } |
| 762 | } |
| 763 | |
| 764 | func TestPrintImportTable_WithCreated(t *testing.T) { |
| 765 | result := &sync.ImportResult{ |
nothing calls this directly
no test coverage detected