Update crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs

Co-authored-by: folex <0xdxdy@gmail.com>
This commit is contained in:
vms 2021-04-01 14:29:34 +03:00 committed by GitHub
parent b010fe93df
commit 26c9358161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,12 +118,13 @@ pub(super) fn generate_test_glue_code(
let glue_code = quote! {
#[test]
#signature {
// definitions for wasm modules specified in config
#(#module_definitions)*
// AppService constructor and instantiation to implicit `fce` variable
#app_service_ctor
// constructors of all modules of the tested service
#(#module_ctors)*
// original test function as is
#original_block
}
};