assert_matches!(...) provides more informative error message when it fails and it is part of nightly rust: https://doc.rust-lang.org/std/assert_matches/macro.assert_matches.html |
||
---|---|---|
.. | ||
address_lookup_table.rs | ||
bank_hash_details.rs | ||
builtin_programs.rs | ||
epoch_accounts_hash_utils.rs | ||
metrics.rs | ||
serde_snapshot.rs | ||
sysvar_cache.rs | ||
tests.rs | ||
transaction_account_state_info.rs |