diff options
author | Yang Tang <tangyang.cn@gmail.com> | 2018-06-01 20:34:52 +0300 |
---|---|---|
committer | Yang Tang <tangyang.cn@gmail.com> | 2018-06-01 20:34:52 +0300 |
commit | 5e0b92434660ed73894b41a8a586c22c30830552 (patch) | |
tree | 970955d5b0aeddfcf04ad797f425eb26113e8fb5 /test/segments/kubecontext.spec | |
parent | 2f95fd04d94a5b2fed33f17ecd1c1d7bab5ad44a (diff) |
Update unit tests for fixing icons cut off
Diffstat (limited to 'test/segments/kubecontext.spec')
-rwxr-xr-x | test/segments/kubecontext.spec | 4 |
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 |