aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2017-07-13 07:42:15 +0300
committerChristian Höltje <docwhat@gerf.org>2017-07-13 07:42:15 +0300
commit8626d07d60e8c52f79899d406d1d74f9eb3f407a (patch)
tree2c2359973792a727f452321abd243f0f0d17eb64 /test
parent40a12d388fa7fbb73e912cedc0a6c272ede64860 (diff)
parent82f319d1fbe25fe450d0851a5556545a11d9502d (diff)
Merge remote-tracking branch 'origin/master' into pr/merge-master
Diffstat (limited to 'test')
-rwxr-xr-xtest/segments/go_version.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/segments/go_version.spec b/test/segments/go_version.spec
index 907dceb3..2aac460b 100755
--- a/test/segments/go_version.spec
+++ b/test/segments/go_version.spec
@@ -35,12 +35,14 @@ function mockGoEmptyGopath() {
function testGo() {
alias go=mockGo
+ POWERLEVEL9K_GO_ICON=""
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(go_version)
PWD="$HOME/go/src/github.com/bhilburn/powerlevel9k"
- assertEquals "%K{green} %F{255}go1.5.3 %k%F{green}%f " "$(build_left_prompt)"
+ assertEquals "%K{green} %F{255%}%f %F{255}go1.5.3 %k%F{green}%f " "$(build_left_prompt)"
+ unset POWERLEVEL9K_GO_ICON
unset PWD
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unalias go