Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Mar 7, 2024
1 parent 644bb88 commit 1b96ca4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wasmer/wasmerInstanceValidate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"testing"

"github.com/multiversx/mx-chain-vm-go/executor"
"github.com/multiversx/mx-chain-vm-go/testcommon"
"github.com/stretchr/testify/require"
)

Expand All @@ -21,7 +20,9 @@ func getSCCode(fileName string) []byte {
}

func TestFunctionsGuard_Arity(t *testing.T) {
testcommon.SkipTestIfWasmer1NotAllowed(t)
if os.Getenv("VMEXECUTOR") != "wasmer1" {
t.Skip("run exclusively with wasmer1")
}

// Empty imports on purpose.
// We have currently no access to the vmhooks package here, due to cyclic imports.
Expand Down

0 comments on commit 1b96ca4

Please sign in to comment.