summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Chou <chhschou@gmail.com>2017-10-05 23:47:37 +0300
committerChris Chou <chhschou@gmail.com>2017-10-05 23:47:37 +0300
commit5657fe6ac7d75cac48a386f55e429b716f8d7623 (patch)
tree547edb00ac00680b7c4d11eaefd03db8a3fec3df /test
parent688f6203b4a1e048ee45bb9493069ab22840fd54 (diff)
#632: Indicate `Rust` or `(rust)` for rust_version segment only if icon is unavailable
Diffstat (limited to 'test')
-rwxr-xr-xtest/segments/rust_version.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/segments/rust_version.spec b/test/segments/rust_version.spec
index 49b06bcf..c945f8ae 100755
--- a/test/segments/rust_version.spec
+++ b/test/segments/rust_version.spec
@@ -19,7 +19,7 @@ function testRust() {
alias rustc=mockRust
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(rust_version)
- assertEquals "%K{208} %F{black}Rust 0.4.1a-alpha %k%F{208}%f " "$(build_left_prompt)"
+ assertEquals "%K{208} %F{black%}Rust%f %F{black}0.4.1a-alpha %k%F{208}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unalias rustc