(t *testing.T)
| 157 | } |
| 158 | |
| 159 | func TestStatus_TextFormat_ParentField(t *testing.T) { |
| 160 | tmpDir := createStatusTestFiles(t) |
| 161 | resetStatusFlags() |
| 162 | taskDir = tmpDir |
| 163 | |
| 164 | output := captureStatusOutput(t, "003") |
| 165 | |
| 166 | if !strings.Contains(output, "Parent: 001") { |
| 167 | t.Error("Expected output to contain 'Parent: 001'") |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | func TestStatus_JSONFormat(t *testing.T) { |
| 172 | tmpDir := createStatusTestFiles(t) |
nothing calls this directly
no test coverage detected