MCPcopy Create free account
hub / github.com/driangle/taskmd / TestStatus_TextFormat_ParentField

Function TestStatus_TextFormat_ParentField

apps/cli/internal/cli/status_test.go:159–169  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

157}
158
159func 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
171func TestStatus_JSONFormat(t *testing.T) {
172 tmpDir := createStatusTestFiles(t)

Callers

nothing calls this directly

Calls 4

createStatusTestFilesFunction · 0.85
resetStatusFlagsFunction · 0.85
captureStatusOutputFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected