summaryrefslogtreecommitdiff
path: root/internal/askcli/formatter_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-28 11:20:47 +0200
committerPaul Buetow <paul@buetow.org>2026-03-28 11:20:47 +0200
commitdbc9c19f8306aa095350abb2edef353c3c44d402 (patch)
tree2ed8424c56b854cef02029dc70c62d6e7ba132a3 /internal/askcli/formatter_test.go
parent1575c64b7d40f4a7b462609242bd72885157a383 (diff)
Rename "Pro" column header to "Pri" for Priority in ask command output
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/askcli/formatter_test.go')
-rw-r--r--internal/askcli/formatter_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/askcli/formatter_test.go b/internal/askcli/formatter_test.go
index 3a9239a..61ede0a 100644
--- a/internal/askcli/formatter_test.go
+++ b/internal/askcli/formatter_test.go
@@ -18,11 +18,11 @@ func TestFormatTaskList(t *testing.T) {
if len(lines) < 3 {
t.Fatalf("FormatTaskList produced too few lines: %d", len(lines))
}
- if !strings.Contains(lines[0], "ID") || !strings.Contains(lines[0], "Pro") {
- t.Fatalf("header missing ID or Pro column: %s", lines[0])
+ if !strings.Contains(lines[0], "ID") || !strings.Contains(lines[0], "Pri") {
+ t.Fatalf("header missing ID or Pri column: %s", lines[0])
}
if strings.Contains(lines[0], "Priority") {
- t.Fatalf("header should use compact Pro label: %s", lines[0])
+ t.Fatalf("header should use compact Pri label: %s", lines[0])
}
if !strings.Contains(lines[0], "Started") {
t.Fatalf("header missing Started column: %s", lines[0])
@@ -65,7 +65,7 @@ func TestFormatTaskList_AlignsHeaderAndSeparator(t *testing.T) {
widths := taskListWidthsFor(tasks, aliases, 0)
wantHeader := fmt.Sprintf("%-*s | %-*s | %-*s | %-*s | %-*s | %-*s | %-*s",
widths.Urgency, "Urg",
- widths.Priority, "Pro",
+ widths.Priority, "Pri",
widths.ID, "ID",
widths.Status, "Status",
widths.Started, "Started",