Unverified Commit 2cde4726 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by GitHub

core/state: fix typos in test error message (#22962)

parent 08ea52e7
...@@ -126,7 +126,7 @@ func TestIntermediateLeaks(t *testing.T) { ...@@ -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) { ...@@ -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)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment