(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestGet_ExactMatchByID(t *testing.T) { |
| 108 | tmpDir := createGetTestFiles(t) |
| 109 | resetGetFlags() |
| 110 | taskDir = tmpDir |
| 111 | |
| 112 | output := captureGetOutput(t, "001") |
| 113 | |
| 114 | if !strings.Contains(output, "Task: 001") { |
| 115 | t.Error("Expected output to contain 'Task: 001'") |
| 116 | } |
| 117 | if !strings.Contains(output, "Title: Setup project") { |
| 118 | t.Error("Expected output to contain task title") |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | func TestGet_ExactMatchByTitle(t *testing.T) { |
| 123 | tmpDir := createGetTestFiles(t) |
nothing calls this directly
no test coverage detected