diff --git a/gnovm/cmd/gno/main_test.go b/gnovm/cmd/gno/main_test.go index 1797d0aede9..069c42db379 100644 --- a/gnovm/cmd/gno/main_test.go +++ b/gnovm/cmd/gno/main_test.go @@ -128,7 +128,7 @@ func testMainCaseRun(t *testing.T, tc []testMainCase) { if errShouldBeEmpty { require.Nil(t, err, "err should be nil") } else { - t.Log("err", err.Error()) + t.Log("err", fmt.Sprintf("%v", err)) require.NotNil(t, err, "err shouldn't be nil") if test.errShouldContain != "" { require.Contains(t, err.Error(), test.errShouldContain, "err should contain")