From 6fca2485ebec418d61325f5042cef9653d919a90 Mon Sep 17 00:00:00 2001 From: vms Date: Thu, 1 Apr 2021 05:34:16 +0300 Subject: [PATCH] improcve comment --- .../src/fce_test/glue_code_generator.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs b/crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs index 81a0c09..3dfef57 100644 --- a/crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs +++ b/crates/fce-test-macro-impl/src/fce_test/glue_code_generator.rs @@ -56,6 +56,13 @@ use std::path::PathBuf; /// } ///} /// // (1) +/// let tmp_dir = std::env::temp_dir(); +/// let service_id = fluence_test::internal::Uuid::new_v4().to_string(); +/// +/// let tmp_dir = tmp_dir.join(&service_id); +/// let tmp_dir = tmp_dir.to_string_lossy().to_string(); +/// std::fs::create_dir(&tmp_dir).expect("can't create a directory for service in tmp"); +/// /// let mut __fce__generated_fce_config = fluence_test::internal::TomlAppServiceConfig::load("/path/to/greeting/Config.toml".to_string()) /// .unwrap_or_else(|e| { /// panic!(