(t *testing.T)
| 281 | } |
| 282 | |
| 283 | func TestVerify_TaskNotFound(t *testing.T) { |
| 284 | tmpDir := createVerifyTestFiles(t) |
| 285 | resetVerifyFlags() |
| 286 | taskDir = tmpDir |
| 287 | verifyTaskID = "999" |
| 288 | |
| 289 | _, err := captureVerifyOutput(t) |
| 290 | if err == nil { |
| 291 | t.Fatal("expected error for non-existent task") |
| 292 | } |
| 293 | if !strings.Contains(err.Error(), "task not found") { |
| 294 | t.Errorf("expected 'task not found' error, got: %v", err) |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | func TestVerify_UnknownType(t *testing.T) { |
| 299 | tmpDir := createVerifyTestFiles(t) |
nothing calls this directly
no test coverage detected