(t *testing.T)
| 495 | } |
| 496 | |
| 497 | func TestStatus_NoChildren(t *testing.T) { |
| 498 | tmpDir := createStatusTestFilesWithChildren(t) |
| 499 | resetStatusFlags() |
| 500 | taskDir = tmpDir |
| 501 | |
| 502 | // Task 012 has no children |
| 503 | output := captureStatusOutput(t, "012") |
| 504 | |
| 505 | if strings.Contains(output, "Children:") { |
| 506 | t.Error("Task with no children should not show 'Children:' section") |
| 507 | } |
| 508 | } |
| 509 | |
| 510 | func TestStatus_NoBodyInOutput(t *testing.T) { |
| 511 | tmpDir := createStatusTestFiles(t) |
nothing calls this directly
no test coverage detected