From 0371bd900f6665373f42fe9da05b4e651ce7173b Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Fri, 31 Jan 2025 16:13:51 +0100 Subject: [PATCH] fixup --- gno.land/pkg/sdk/vm/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gno.land/pkg/sdk/vm/handler_test.go b/gno.land/pkg/sdk/vm/handler_test.go index e03e280f46b..a4f39242e3b 100644 --- a/gno.land/pkg/sdk/vm/handler_test.go +++ b/gno.land/pkg/sdk/vm/handler_test.go @@ -93,13 +93,13 @@ func TestVmHandlerQuery_Eval(t *testing.T) { // panics {input: []byte(`gno.land/r/hello`), expectedPanicMatch: `expected . syntax in query input data`}, - {input: []byte(`gno.land/r/hello.func(){ for {} }()`), expectedPanicMatch: `out of gas in location: CPUCycles`}, // errors {input: []byte(`gno.land/r/hello.doesnotexist`), expectedErrorMatch: `^/:0:0: name doesnotexist not declared:`}, // multiline error {input: []byte(`gno.land/r/doesnotexist.Foo`), expectedErrorMatch: `^invalid package path$`}, {input: []byte(`gno.land/r/hello.Panic()`), expectedErrorMatch: `^foo$`}, {input: []byte(`gno.land/r/hello.sl[6]`), expectedErrorMatch: `^slice index out of bounds: 6 \(len=5\)$`}, + {input: []byte(`gno.land/r/hello.func(){ for {} }()`), expectedErrorMatch: `out of gas in location: CPUCycles`}, } for _, tc := range tt {