File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -868,8 +868,9 @@ fn test_bad_call_with_trait(
868
868
epoch : StacksEpochId ,
869
869
mut env_factory : MemoryEnvironmentGenerator ,
870
870
) {
871
-
872
- if cfg ! ( feature = "clarity-wasm" ) && version == ClarityVersion :: Clarity1 { return ; }
871
+ if cfg ! ( feature = "clarity-wasm" ) && version == ClarityVersion :: Clarity1 {
872
+ return ;
873
+ }
873
874
874
875
let mut owned_env = env_factory. get_env ( epoch) ;
875
876
// This set of contracts should be working in this context,
@@ -899,28 +900,28 @@ fn test_bad_call_with_trait(
899
900
QualifiedContractIdentifier :: local ( "defun" ) . unwrap ( ) ,
900
901
contract_defining_trait,
901
902
ASTRules :: PrecheckSize ,
902
- & mut analysis_db
903
+ & mut analysis_db,
903
904
)
904
905
. unwrap ( ) ;
905
906
env. initialize_contract_with_db (
906
907
QualifiedContractIdentifier :: local ( "dispatch" ) . unwrap ( ) ,
907
908
dispatching_contract,
908
909
ASTRules :: PrecheckSize ,
909
- & mut analysis_db
910
+ & mut analysis_db,
910
911
)
911
912
. unwrap ( ) ;
912
913
env. initialize_contract_with_db (
913
914
QualifiedContractIdentifier :: local ( "implem" ) . unwrap ( ) ,
914
915
impl_contract,
915
916
ASTRules :: PrecheckSize ,
916
- & mut analysis_db
917
+ & mut analysis_db,
917
918
)
918
919
. unwrap ( ) ;
919
920
env. initialize_contract_with_db (
920
921
QualifiedContractIdentifier :: local ( "call" ) . unwrap ( ) ,
921
922
caller_contract,
922
923
ASTRules :: PrecheckSize ,
923
- & mut analysis_db
924
+ & mut analysis_db,
924
925
)
925
926
. unwrap ( ) ;
926
927
}
You can’t perform that action at this time.
0 commit comments