(t *testing.T)
| 265 | } |
| 266 | |
| 267 | func TestVerify_NoField(t *testing.T) { |
| 268 | tmpDir := createVerifyTestFiles(t) |
| 269 | resetVerifyFlags() |
| 270 | taskDir = tmpDir |
| 271 | verifyTaskID = "005" |
| 272 | |
| 273 | output, err := captureVerifyOutput(t) |
| 274 | if err != nil { |
| 275 | t.Fatalf("unexpected error: %v", err) |
| 276 | } |
| 277 | |
| 278 | if !strings.Contains(output, "No verification checks defined") { |
| 279 | t.Errorf("expected no-checks message, got: %s", output) |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | func TestVerify_TaskNotFound(t *testing.T) { |
| 284 | tmpDir := createVerifyTestFiles(t) |
nothing calls this directly
no test coverage detected