(t *testing.T)
| 107 | } |
| 108 | |
| 109 | func TestStatus_ExactMatchByID(t *testing.T) { |
| 110 | tmpDir := createStatusTestFiles(t) |
| 111 | resetStatusFlags() |
| 112 | taskDir = tmpDir |
| 113 | |
| 114 | output := captureStatusOutput(t, "001") |
| 115 | |
| 116 | if !strings.Contains(output, "Task: 001") { |
| 117 | t.Error("Expected output to contain 'Task: 001'") |
| 118 | } |
| 119 | if !strings.Contains(output, "Title: Setup project") { |
| 120 | t.Error("Expected output to contain task title") |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | func TestStatus_TextFormat(t *testing.T) { |
| 125 | tmpDir := createStatusTestFiles(t) |
nothing calls this directly
no test coverage detected