mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-13 07:16:38 +00:00
Remove debug_traceCall historical test
This commit is contained in:
parent
e3dbaab7a9
commit
d475ef4015
@ -385,10 +385,8 @@ func TestTraceCall(t *testing.T) {
|
||||
t.Errorf("test %d: expect error %v, got nothing", i, testspec.expectErr)
|
||||
continue
|
||||
}
|
||||
// Have to introduce this diff to reflect the fact that errors
|
||||
// from the upstream will not preserve pointer equality.
|
||||
if err.Error() != testspec.expectErr.Error() {
|
||||
t.Errorf("test %d: error mismatch, want %v, got %v", i, testspec.expectErr, err)
|
||||
if !reflect.DeepEqual(err, testspec.expectErr) {
|
||||
t.Errorf("test %d: error mismatch, want %v, git %v", i, testspec.expectErr, err)
|
||||
}
|
||||
} else {
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user