fix: correct error messages in runtime test defaults validation

This commit is contained in:
Merkel Tranjes 2025-09-30 19:00:57 +02:00 committed by GitHub
parent 1487a8577d
commit dc4f98b914
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,13 +54,13 @@ func TestDefaults(t *testing.T) {
t.Error("didn't expect gaslimit to be zero") t.Error("didn't expect gaslimit to be zero")
} }
if cfg.GasPrice == nil { 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 { if cfg.Value == nil {
t.Error("expected time to be non nil") t.Error("expected value to be non nil")
} }
if cfg.GetHashFn == 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 { if cfg.BlockNumber == nil {
t.Error("expected block number to be non nil") t.Error("expected block number to be non nil")