Skip to content

Commit

Permalink
Fix bad test logs in NewTestInstanceWithTrie
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Aug 12, 2022
1 parent 51b6ba2 commit 411556f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/runtime/wasmer/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ func NewTestInstanceWithTrie(t *testing.T, targetRuntime string, tt *trie.Trie)
require.NoError(t, err)

r, err := NewInstanceFromFile(runtimeFilepath, cfg)
require.NoError(t, err, "Got error when trying to create new VM", "targetRuntime", targetRuntime)
require.NotNil(t, r, "Could not create new VM instance", "targetRuntime", targetRuntime)
require.NoError(t, err)
return r
}

Expand Down

0 comments on commit 411556f

Please sign in to comment.