diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/segments/rust_version.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/segments/rust_version.spec b/test/segments/rust_version.spec index a9668671..eb1db35e 100755 --- a/test/segments/rust_version.spec +++ b/test/segments/rust_version.spec @@ -19,7 +19,8 @@ function testRust() { alias rustc=mockRust POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(rust_version) - assertEquals "%K{208} %F{black}Rust 0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)" + assertEquals "%K{208} %F{black%}Rust%f %F{black}0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)" + unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS unalias rustc |