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

Function TestGet_ExactMatchByTitle

apps/cli/internal/cli/get_test.go:122–132  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

120}
121
122func TestGet_ExactMatchByTitle(t *testing.T) {
123 tmpDir := createGetTestFiles(t)
124 resetGetFlags()
125 taskDir = tmpDir
126
127 output := captureGetOutput(t, "Setup project")
128
129 if !strings.Contains(output, "Task: 001") {
130 t.Error("Expected output to contain 'Task: 001'")
131 }
132}
133
134func TestGet_ExactMatchByTitle_CaseInsensitive(t *testing.T) {
135 tmpDir := createGetTestFiles(t)

Callers

nothing calls this directly

Calls 4

createGetTestFilesFunction · 0.85
resetGetFlagsFunction · 0.85
captureGetOutputFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected