mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
fix: correct error messages in runtime test defaults validation
This commit is contained in:
parent
1487a8577d
commit
dc4f98b914
1 changed files with 3 additions and 3 deletions
|
|
@ -54,13 +54,13 @@ func TestDefaults(t *testing.T) {
|
|||
t.Error("didn't expect gaslimit to be zero")
|
||||
}
|
||||
if cfg.GasPrice == nil {
|
||||
t.Error("expected time to be non nil")
|
||||
t.Error("expected gas price to be non nil")
|
||||
}
|
||||
if cfg.Value == nil {
|
||||
t.Error("expected time to be non nil")
|
||||
t.Error("expected value to be non nil")
|
||||
}
|
||||
if cfg.GetHashFn == nil {
|
||||
t.Error("expected time to be non nil")
|
||||
t.Error("expected get hash function to be non nil")
|
||||
}
|
||||
if cfg.BlockNumber == nil {
|
||||
t.Error("expected block number to be non nil")
|
||||
|
|
|
|||
Loading…
Reference in a new issue