MCPcopy Create free account
hub / github.com/driangle/taskmd / TestPrintImportTable_QuietMode

Function TestPrintImportTable_QuietMode

apps/cli/internal/cli/importcmd_test.go:751–762  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

749}
750
751func 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
764func TestPrintImportTable_WithCreated(t *testing.T) {
765 result := &sync.ImportResult{

Callers

nothing calls this directly

Calls 1

capturePrintImportTableFunction · 0.85

Tested by

no test coverage detected