Skip to content

Commit

Permalink
core/state: fix typos in test error message (ethereum#22962)
Browse files Browse the repository at this point in the history
gballet authored May 31, 2021
1 parent 08ea52e commit 2cde472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/state/statedb_test.go
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ func TestIntermediateLeaks(t *testing.T) {
t.Errorf("entry missing from the transition database: %x -> %x", key, fvalue)
}
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()
@@ -139,7 +139,7 @@ func TestIntermediateLeaks(t *testing.T) {
t.Errorf("extra entry in the transition database: %x -> %x", key, it.Value())
}
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)
}
}
}

0 comments on commit 2cde472

Please sign in to comment.