diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configs/cmake.rs | 2 | ||||
-rw-r--r-- | src/modules/cmake.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/configs/cmake.rs b/src/configs/cmake.rs index 1fc934f4a..012d8ebda 100644 --- a/src/configs/cmake.rs +++ b/src/configs/cmake.rs @@ -17,7 +17,7 @@ impl<'a> RootModuleConfig<'a> for CMakeConfig<'a> { fn new() -> Self { CMakeConfig { format: "via [$symbol($version )]($style)", - symbol: "喝 ", + symbol: "△ ", style: "bold blue", disabled: false, detect_extensions: vec![], diff --git a/src/modules/cmake.rs b/src/modules/cmake.rs index 2d003a977..01d4010e9 100644 --- a/src/modules/cmake.rs +++ b/src/modules/cmake.rs @@ -77,7 +77,7 @@ mod tests { let dir = tempfile::tempdir()?; File::create(dir.path().join("CMakeLists.txt"))?.sync_all()?; let actual = ModuleRenderer::new("cmake").path(dir.path()).collect(); - let expected = Some(format!("via {}", Color::Blue.bold().paint("喝 v3.17.3 "))); + let expected = Some(format!("via {}", Color::Blue.bold().paint("△ v3.17.3 "))); assert_eq!(expected, actual); dir.close() } @@ -87,7 +87,7 @@ mod tests { let dir = tempfile::tempdir()?; File::create(dir.path().join("CMakeCache.txt"))?.sync_all()?; let actual = ModuleRenderer::new("cmake").path(dir.path()).collect(); - let expected = Some(format!("via {}", Color::Blue.bold().paint("喝 v3.17.3 "))); + let expected = Some(format!("via {}", Color::Blue.bold().paint("△ v3.17.3 "))); assert_eq!(expected, actual); dir.close() } |