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) /// // (3)
///``` ///```
/// ///
/// Here [(0), (1)] - module_definitions /// Example code above corresponds to the macro definition in the following way:
/// [(1), (2)] - AppService ctor /// [(0), (1)] - module_definitions*
/// [(2), (3)] - ctors of all modules of the tested service /// [(1), (2)] - app_service_ctor
/// [(3), (4)] - original test function /// [(2), (3)] - module_ctors*
/// [(3), (4)] - original_block
pub(super) fn generate_test_glue_code( pub(super) fn generate_test_glue_code(
func_item: syn::ItemFn, func_item: syn::ItemFn,
attrs: FCETestAttributes, attrs: FCETestAttributes,