summaryrefslogtreecommitdiff
path: root/test/segments
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-06-07 03:01:36 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-06-07 03:36:30 +0300
commitdc21b973350a1ebc0a6ff1699e2d8439a9f8820c (patch)
tree8b0464dd279d43e508f65f52e80f4b6a73a11215 /test/segments
parent0257159e1ef634f2ccd7121b1c93f359fae07e46 (diff)
Fix travis build
Diffstat (limited to 'test/segments')
-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 bebbfcfc..40b130d2 100755
--- a/test/segments/laravel_version.spec
+++ b/test/segments/laravel_version.spec
@@ -31,7 +31,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%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 2a344f64..34883a10 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%F{black}0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
}