From fee4658939c95590692b60aa7ad3e46b392e4bf9 Mon Sep 17 00:00:00 2001 From: Christoph Burgdorf Date: Mon, 15 Feb 2021 17:15:54 +0100 Subject: [PATCH] Cover ownable.fe in with test --- compiler/tests/evm_contracts.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compiler/tests/evm_contracts.rs b/compiler/tests/evm_contracts.rs index 3a04be9a29..fd5b66b0ac 100644 --- a/compiler/tests/evm_contracts.rs +++ b/compiler/tests/evm_contracts.rs @@ -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, &[]); + }) +}