Skip to content

Commit 766ae7b

Browse files
committed
add runner
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
1 parent 95c2c57 commit 766ae7b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
}

0 commit comments

Comments
 (0)