(t *testing.T)
| 120 | } |
| 121 | |
| 122 | func 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 | |
| 134 | func TestGet_ExactMatchByTitle_CaseInsensitive(t *testing.T) { |
| 135 | tmpDir := createGetTestFiles(t) |
nothing calls this directly
no test coverage detected