aboutsummaryrefslogtreecommitdiff
path: root/test/segments/kubecontext.spec
diff options
context:
space:
mode:
authorYang Tang <tangyang.cn@gmail.com>2018-08-22 21:37:52 +0300
committerYang Tang <tangyang.cn@gmail.com>2018-08-22 21:37:52 +0300
commit877ef6177366ffdcb25dcb6dfac38eb899e2f4e4 (patch)
tree5dc0f52e066aadfc3a025d1013a30de087ed2d4e /test/segments/kubecontext.spec
parent571a859413866897cf962396f02f65a288f677ac (diff)
Fix icons cut off in RPROMPT segments
Diffstat (limited to 'test/segments/kubecontext.spec')
-rwxr-xr-xtest/segments/kubecontext.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/segments/kubecontext.spec b/test/segments/kubecontext.spec
index 63810378..5e8bbe82 100755
--- a/test/segments/kubecontext.spec
+++ b/test/segments/kubecontext.spec
@@ -69,7 +69,7 @@ function testKubeContext() {
alias kubectl=mockKubectl
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(kubecontext)
- assertEquals "%K{magenta} %F{white%}⎈ %f%F{white}minikube/default %k%F{magenta}%f " "$(build_left_prompt)"
+ assertEquals "%K{magenta} %F{white%}⎈ %F{white}minikube/default %k%F{magenta}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unalias kubectl
@@ -78,7 +78,7 @@ function testKubeContextOtherNamespace() {
alias kubectl=mockKubectlOtherNamespace
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(kubecontext)
- assertEquals "%K{magenta} %F{white%}⎈ %f%F{white}minikube/kube-system %k%F{magenta}%f " "$(build_left_prompt)"
+ assertEquals "%K{magenta} %F{white%}⎈ %F{white}minikube/kube-system %k%F{magenta}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unalias kubectl