diff --git a/crates/handler/src/validation.rs b/crates/handler/src/validation.rs index 73fccedcf8..52cb0fbb3d 100644 --- a/crates/handler/src/validation.rs +++ b/crates/handler/src/validation.rs @@ -389,13 +389,16 @@ mod tests { ]; let bytecode: Bytes = init_code.into(); let result = deploy_contract(bytecode, Some(SpecId::OSAKA)); - assert!(matches!( - result, - Ok(ExecutionResult::Halt { - reason: HaltReason::CreateContractSizeLimit, - .. - },) - )); + assert!( + matches!( + result, + Ok(ExecutionResult::Halt { + reason: HaltReason::CreateContractSizeLimit, + .. + },) + ), + "{result:?}" + ); } #[test] @@ -411,13 +414,16 @@ mod tests { ]; let bytecode: Bytes = init_code.into(); let result = deploy_contract(bytecode, Some(SpecId::PRAGUE)); - assert!(matches!( - result, - Ok(ExecutionResult::Halt { - reason: HaltReason::CreateContractSizeLimit, - .. - },) - )); + assert!( + matches!( + result, + Ok(ExecutionResult::Halt { + reason: HaltReason::CreateContractSizeLimit, + .. + },) + ), + "{result:?}" + ); } #[test] diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 5826df605b..0f813f9b8b 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -1,7 +1,7 @@ -# ./run-tests --help +#!/usr/bin/env bash +set -eo pipefail -#!/bin/bash -set -e +# Usage: ./scripts/run-tests.sh --help # Version for the execution spec tests VERSION="v4.4.0"