Skip to content

Commit

Permalink
Fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
cabrador committed Oct 7, 2024
1 parent a4320fb commit 05cfc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/extension/validator/eth_state_test_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (e *ethStateTestValidator) PostTransaction(state executor.State[txcontext.T
return nil
}
if got == nil && want != nil {
err = fmt.Errorf("unexpected error %w, got no error\ntest-info: %s", want, state.Data)
err = fmt.Errorf("expected error %w, got no error\ntest-info: %s", want, state.Data)
}
if got != nil && want == nil {
err = fmt.Errorf("unexpected error: %w\ntest-info: %s", got, state.Data)
Expand Down

0 comments on commit 05cfc02

Please sign in to comment.