foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
308 stars 150 forks source link

should panic tests print the panic values #2105

Open MaksymilianDemitraszek opened 4 months ago

MaksymilianDemitraszek commented 4 months ago

When #[should_panic] test fails the panic message is still printed which makes the output messy

[PASS] tests::test_case::l1_handler_contract_missing (gas: ~2)

Success data:
    "Contract not deployed at address: 0x00000000000000000000000000000000000000000000000005db30e271c4dc26"

If this behaviour should be turned off or hidden under a flag is TBD