Method
validateError
(t *testing.T, _ error, _ *ExpectError)
Source from the content-addressed store, hash-verified
| 553 | } |
| 554 | |
| 555 | func (e *executor) validateError(t *testing.T, _ error, _ *ExpectError) { |
| 556 | t.Helper() |
| 557 | |
| 558 | // For CLI errors, we need to extract the error details |
| 559 | // This is a simplified version - real implementation would parse the error |
| 560 | |
| 561 | // TODO: Parse error and validate code/message |
| 562 | } |
| 563 | |
| 564 | func (e *executor) validateErrorObject(t *testing.T, errObj map[string]any, expect *ExpectError) { |
| 565 | t.Helper() |
Tested by
no test coverage detected