mirror of https://github.com/status-im/evmc.git
Fix compilation in Debug configuration
This commit is contained in:
parent
e43026cf9f
commit
6768aa888e
|
@ -45,10 +45,14 @@ TEST_F(evmc_vm_test, execute)
|
|||
|
||||
// Validate some constraints
|
||||
if (result.status_code != EVMC_SUCCESS && result.status_code != EVMC_REVERT)
|
||||
{
|
||||
EXPECT_EQ(result.gas_left, 0);
|
||||
}
|
||||
|
||||
if (result.output_data == NULL)
|
||||
{
|
||||
EXPECT_EQ(result.output_size, 0);
|
||||
}
|
||||
|
||||
if (result.release)
|
||||
result.release(&result);
|
||||
|
|
Loading…
Reference in New Issue