Skip to main content

revm_ee_tests/
lib.rs

1//! Integration tests for REVM crates.
2//!
3//! This crate hosts integration-style tests that exercise multiple REVM
4//! crates together. Snapshot assertions use the `insta` crate.
5
6/// Asserts a JSON snapshot with map keys sorted, so the snapshot is stable
7/// across `HashMap` hashers (e.g. with the `map-foldhash` feature enabled).
8#[cfg(test)]
9#[macro_export]
10macro_rules! assert_sorted_json_snapshot {
11    ($value:expr $(,)?) => {
12        ::insta::with_settings!({sort_maps => true}, {
13            ::insta::assert_json_snapshot!($value);
14        })
15    };
16}
17
18#[cfg(test)]
19mod revm_tests;
20
21#[cfg(test)]
22mod eip8037;