From 5e0b92434660ed73894b41a8a586c22c30830552 Mon Sep 17 00:00:00 2001 From: Yang Tang Date: Fri, 1 Jun 2018 13:34:52 -0400 Subject: Update unit tests for fixing icons cut off --- test/segments/kubecontext.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/segments/kubecontext.spec') 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 -- cgit v1.2.3