summaryrefslogtreecommitdiff
path: root/test/segments/kubecontext.spec
diff options
context:
space:
mode:
authorYang Tang <tangyang.cn@gmail.com>2018-06-01 20:34:52 +0300
committerYang Tang <tangyang.cn@gmail.com>2018-06-01 20:34:52 +0300
commit5e0b92434660ed73894b41a8a586c22c30830552 (patch)
tree970955d5b0aeddfcf04ad797f425eb26113e8fb5 /test/segments/kubecontext.spec
parent2f95fd04d94a5b2fed33f17ecd1c1d7bab5ad44a (diff)
Update unit tests for fixing icons cut off
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 eaaa2300..abcfec07 100755
--- a/test/segments/kubecontext.spec
+++ b/test/segments/kubecontext.spec
@@ -51,7 +51,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%F{white}minikube/default %k%F{magenta}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unalias kubectl
@@ -60,7 +60,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%F{white}minikube/kube-system %k%F{magenta}%f " "$(build_left_prompt)"
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
unalias kubectl