(t *testing.T)
| 896 | } |
| 897 | |
| 898 | func TestStatus_Blocked(t *testing.T) { |
| 899 | tmpDir := createStatusTestFiles(t) |
| 900 | resetStatusFlags() |
| 901 | taskDir = tmpDir |
| 902 | |
| 903 | // Task 003 depends on 002 which is in-progress (not completed) |
| 904 | output := captureStatusOutput(t, "003") |
| 905 | |
| 906 | if !strings.Contains(output, "Blocked: Yes (blocked by: 002)") { |
| 907 | t.Errorf("Expected blocked indicator with 002, got:\n%s", output) |
| 908 | } |
| 909 | } |
| 910 | |
| 911 | func TestStatus_Unblocked(t *testing.T) { |
| 912 | tmpDir := createStatusTestFiles(t) |
nothing calls this directly
no test coverage detected