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/powerlevel9k.spec | |
parent | 2f95fd04d94a5b2fed33f17ecd1c1d7bab5ad44a (diff) |
Update unit tests for fixing icons cut off
Diffstat (limited to 'test/powerlevel9k.spec')
-rwxr-xr-x | test/powerlevel9k.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/powerlevel9k.spec b/test/powerlevel9k.spec index 5f6b6f27..99b3ea17 100755 --- a/test/powerlevel9k.spec +++ b/test/powerlevel9k.spec @@ -65,7 +65,7 @@ function testDynamicColoringOfVisualIdentifiersWork() { cd /tmp - assertEquals "%K{blue} %F{green%}icon-here%f %F{black}/tmp %k%F{blue}%f " "$(build_left_prompt)" + assertEquals "%K{blue} %F{green%}icon-here %f%F{black}/tmp %k%F{blue}%f " "$(build_left_prompt)" unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS unset POWERLEVEL9K_DIR_DEFAULT_VISUAL_IDENTIFIER_COLOR @@ -86,7 +86,7 @@ function testColoringOfVisualIdentifiersDoesNotOverwriteColoringOfSegment() { cd /tmp - assertEquals "%K{yellow} %F{green%}icon-here%f %F{red}/tmp %k%F{yellow}%f " "$(build_left_prompt)" + assertEquals "%K{yellow} %F{green%}icon-here %f%F{red}/tmp %k%F{yellow}%f " "$(build_left_prompt)" unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS unset POWERLEVEL9K_DIR_DEFAULT_VISUAL_IDENTIFIER_COLOR @@ -106,7 +106,7 @@ function testOverwritingIconsWork() { #cd ~/$testFolder cd /tmp - assertEquals "%K{blue} %F{black%}icon-here%f %F{black}/tmp %k%F{blue}%f " "$(build_left_prompt)" + assertEquals "%K{blue} %F{black%}icon-here %f%F{black}/tmp %k%F{blue}%f " "$(build_left_prompt)" unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS unset POWERLEVEL9K_DIR_FOLDER_ICON |