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:40 +03:00 committed by GitHub
parent 26c9358161
commit e040a17253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,10 +89,11 @@ use std::path::PathBuf;
/// // (3)
///```
///
/// Here [(0), (1)] - module_definitions
/// [(1), (2)] - AppService ctor
/// [(2), (3)] - ctors of all modules of the tested service
/// [(3), (4)] - original test function
/// Example code above corresponds to the macro definition in the following way:
/// [(0), (1)] - module_definitions*
/// [(1), (2)] - app_service_ctor
/// [(2), (3)] - module_ctors*
/// [(3), (4)] - original_block
pub(super) fn generate_test_glue_code(
func_item: syn::ItemFn,
attrs: FCETestAttributes,