(t *testing.T)
| 179 | } |
| 180 | |
| 181 | func TestVerify_AllPass(t *testing.T) { |
| 182 | tmpDir := createVerifyTestFiles(t) |
| 183 | resetVerifyFlags() |
| 184 | taskDir = tmpDir |
| 185 | verifyTaskID = "001" |
| 186 | |
| 187 | output, err := captureVerifyOutput(t) |
| 188 | if err != nil { |
| 189 | t.Fatalf("unexpected error: %v", err) |
| 190 | } |
| 191 | |
| 192 | if !strings.Contains(output, "PASS") { |
| 193 | t.Errorf("expected PASS in output, got: %s", output) |
| 194 | } |
| 195 | if !strings.Contains(output, "2 passed") { |
| 196 | t.Errorf("expected '2 passed' in output, got: %s", output) |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | func TestVerify_Fail(t *testing.T) { |
| 201 | tmpDir := createVerifyTestFiles(t) |
nothing calls this directly
no test coverage detected