Skip to content

Commit dc4f98b

Browse files
authored
fix: correct error messages in runtime test defaults validation
1 parent 1487a85 commit dc4f98b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/vm/runtime/runtime_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ func TestDefaults(t *testing.T) {
5454
t.Error("didn't expect gaslimit to be zero")
5555
}
5656
if cfg.GasPrice == nil {
57-
t.Error("expected time to be non nil")
57+
t.Error("expected gas price to be non nil")
5858
}
5959
if cfg.Value == nil {
60-
t.Error("expected time to be non nil")
60+
t.Error("expected value to be non nil")
6161
}
6262
if cfg.GetHashFn == nil {
63-
t.Error("expected time to be non nil")
63+
t.Error("expected get hash function to be non nil")
6464
}
6565
if cfg.BlockNumber == nil {
6666
t.Error("expected block number to be non nil")

0 commit comments

Comments
 (0)