summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYang Tang <tangyang.cn@gmail.com>2018-08-22 22:01:04 +0300
committerYang Tang <tangyang.cn@gmail.com>2018-08-22 22:01:04 +0300
commit24bbbfc9bdbdc0666a53cd4a60a8b57551e9f0ca (patch)
treef5c2474a9b58bcd6b934a25b4fade6309fa03535 /test
parent877ef6177366ffdcb25dcb6dfac38eb899e2f4e4 (diff)
Update unit tests for fixing RPROMPT icons cut off
Diffstat (limited to 'test')
-rwxr-xr-xtest/segments/laravel_version.spec2
-rwxr-xr-xtest/segments/rust_version.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/segments/laravel_version.spec b/test/segments/laravel_version.spec
index 6133b19a..34b06cce 100755
--- a/test/segments/laravel_version.spec
+++ b/test/segments/laravel_version.spec
@@ -32,7 +32,7 @@ function testLaravelVersionSegment() {
POWERLEVEL9K_LARAVEL_ICON='x'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(laravel_version)
- assertEquals "%K{001} %F{white%}x %f%F{white}5.4.23 %k%F{maroon}%f " "$(build_left_prompt)"
+ assertEquals "%K{001} %F{white%}x %F{white}5.4.23 %k%F{maroon}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unset POWERLEVEL9K_LARAVEL_ICON
diff --git a/test/segments/rust_version.spec b/test/segments/rust_version.spec
index 34883a10..091d5217 100755
--- a/test/segments/rust_version.spec
+++ b/test/segments/rust_version.spec
@@ -32,7 +32,7 @@ function testRust() {
mockRust
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(rust_version)
- assertEquals "%K{208} %F{black%}Rust %f%F{black}0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)"
+ assertEquals "%K{208} %F{black%}Rust %F{black}0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
}