forked from cerc-io/plugeth
core/state: fix typos in test error message (#22962)
This commit is contained in:
parent
08ea52e77a
commit
2cde472650
@ -126,7 +126,7 @@ func TestIntermediateLeaks(t *testing.T) {
|
|||||||
t.Errorf("entry missing from the transition database: %x -> %x", key, fvalue)
|
t.Errorf("entry missing from the transition database: %x -> %x", key, fvalue)
|
||||||
}
|
}
|
||||||
if !bytes.Equal(fvalue, tvalue) {
|
if !bytes.Equal(fvalue, tvalue) {
|
||||||
t.Errorf("the value associate key %x is mismatch,: %x in transition database ,%x in final database", key, tvalue, fvalue)
|
t.Errorf("value mismatch at key %x: %x in transition database, %x in final database", key, tvalue, fvalue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
it.Release()
|
it.Release()
|
||||||
@ -139,7 +139,7 @@ func TestIntermediateLeaks(t *testing.T) {
|
|||||||
t.Errorf("extra entry in the transition database: %x -> %x", key, it.Value())
|
t.Errorf("extra entry in the transition database: %x -> %x", key, it.Value())
|
||||||
}
|
}
|
||||||
if !bytes.Equal(fvalue, tvalue) {
|
if !bytes.Equal(fvalue, tvalue) {
|
||||||
t.Errorf("the value associate key %x is mismatch,: %x in transition database ,%x in final database", key, tvalue, fvalue)
|
t.Errorf("value mismatch at key %x: %x in transition database, %x in final database", key, tvalue, fvalue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user