test: Fix vmtester/precompile_test test

This commit is contained in:
Paweł Bylica 2019-11-05 13:19:56 +01:00
parent a15e493a26
commit 7074ce9a63
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}