File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
crates/forge/tests/it/revive Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ use crate :: { config:: * , test_helpers:: TEST_DATA_REVIVE } ;
2+ use foundry_test_utils:: Filter ;
3+ use revm:: primitives:: hardfork:: SpecId ;
4+
5+ #[ tokio:: test( flavor = "multi_thread" ) ]
6+ async fn test_etch_existing_contract ( ) {
7+ let runner: forge:: MultiContractRunner = TEST_DATA_REVIVE . runner_revive ( ) ;
8+ let filter = Filter :: new ( "testEtchExistingContract" , "EtchTest" , ".*/revive/.*" ) ;
9+
10+ TestConfig :: with_filter ( runner, filter) . spec_id ( SpecId :: PRAGUE ) . run ( ) . await ;
11+ }
12+
13+ #[ tokio:: test( flavor = "multi_thread" ) ]
14+ async fn test_etch_any_contract ( ) {
15+ let runner: forge:: MultiContractRunner = TEST_DATA_REVIVE . runner_revive ( ) ;
16+ let filter = Filter :: new ( "testEtchAnyContract" , "EtchTest" , ".*/revive/.*" ) ;
17+
18+ TestConfig :: with_filter ( runner, filter) . spec_id ( SpecId :: PRAGUE ) . run ( ) . await ;
19+ }
You can’t perform that action at this time.
0 commit comments