diff --git a/test/vmtester/tests.cpp b/test/vmtester/tests.cpp index 1064d3c..12fd5b5 100644 --- a/test/vmtester/tests.cpp +++ b/test/vmtester/tests.cpp @@ -201,9 +201,8 @@ TEST_F(evmc_vm_test, precompile_test) { EXPECT_EQ(result.output_size, size_t{0}); } - else + else if (result.output_size != 0) { - EXPECT_NE(result.output_size, size_t{0}); read_buffer(result.output_data, result.output_size); }