(t *testing.T)
| 464 | } |
| 465 | |
| 466 | func TestStatus_MinimalFlag(t *testing.T) { |
| 467 | tmpDir := createStatusTestFilesWithChildren(t) |
| 468 | resetStatusFlags() |
| 469 | taskDir = tmpDir |
| 470 | statusMinimal = true |
| 471 | |
| 472 | output := captureStatusOutput(t, "010") |
| 473 | |
| 474 | if strings.Contains(output, "Children:") { |
| 475 | t.Error("--minimal should suppress children section") |
| 476 | } |
| 477 | } |
| 478 | |
| 479 | func TestStatus_MinimalFlag_JSON(t *testing.T) { |
| 480 | tmpDir := createStatusTestFilesWithChildren(t) |
nothing calls this directly
no test coverage detected