Skip to content

Commit

Permalink
Cover ownable.fe in with test
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Feb 15, 2021
1 parent 9c49805 commit fee4658
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions compiler/tests/evm_contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,3 +1053,10 @@ fn create_contract() {
foo_harness.test_function(&mut executor, "get_my_num", &[], Some(&uint_token(42)));
})
}

#[rstest(fixture_file, contract_name, case("ownable.fe", "Ownable"))]
fn can_deploy_fixture(fixture_file: &str, contract_name: &str) {
with_executor(&|mut executor| {
deploy_contract(&mut executor, fixture_file, contract_name, &[]);
})
}

0 comments on commit fee4658

Please sign in to comment.