From dc4f98b914efa8bcd1bd19bb108a81af32eb3be4 Mon Sep 17 00:00:00 2001 From: Merkel Tranjes <140164174+rnkrtt@users.noreply.github.com> Date: Tue, 30 Sep 2025 19:00:57 +0200 Subject: [PATCH] fix: correct error messages in runtime test defaults validation --- core/vm/runtime/runtime_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/vm/runtime/runtime_test.go b/core/vm/runtime/runtime_test.go index ddd32df039..364e2f9598 100644 --- a/core/vm/runtime/runtime_test.go +++ b/core/vm/runtime/runtime_test.go @@ -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")