From 411556f8a67056c7c82576e23d77893a39019bb3 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 12 Aug 2022 15:11:19 +0000 Subject: [PATCH] Fix bad test logs in `NewTestInstanceWithTrie` --- lib/runtime/wasmer/test_helpers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/runtime/wasmer/test_helpers.go b/lib/runtime/wasmer/test_helpers.go index d0ee3fd7373..98938f697f8 100644 --- a/lib/runtime/wasmer/test_helpers.go +++ b/lib/runtime/wasmer/test_helpers.go @@ -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 }