From a244377c9a485d252da1cca7c5ba61e4915f7236 Mon Sep 17 00:00:00 2001
From: licunlong <licunlong1@huawei.com>
Date: Fri, 30 Jun 2023 11:29:56 +0800
Subject: [PATCH] typo: fix some typoes

---
 libs/basic/src/condition.rs | 2 +-
 libs/libtests/src/lib.rs    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/basic/src/condition.rs b/libs/basic/src/condition.rs
index b9743f3..ccdb6ff 100644
--- a/libs/basic/src/condition.rs
+++ b/libs/basic/src/condition.rs
@@ -440,7 +440,7 @@ mod test {
 
     #[test]
     fn test_condition_test() {
-        logger::init_log_to_console("test_init_lookup_paths", log::LevelFilter::Debug);
+        logger::init_log_to_console("test_condition", log::LevelFilter::Debug);
         let project_root = get_project_root().unwrap();
         let cond_path_not_exists = Condition::new(
             ConditionType::PathExists,
diff --git a/libs/libtests/src/lib.rs b/libs/libtests/src/lib.rs
index 9380dc2..260d7f8 100644
--- a/libs/libtests/src/lib.rs
+++ b/libs/libtests/src/lib.rs
@@ -45,7 +45,7 @@ mod tests {
     use crate::{get_crate_root, get_project_root};
 
     #[test]
-    fn test_get_projecgt_root() {
+    fn test_get_project_root() {
         let mut file_path = get_project_root().unwrap();
         file_path.push("tests/test_units/config.service.toml");
 
-- 
2.33.0

