summaryrefslogtreecommitdiff
path: root/test/segments/nodeenv.spec
diff options
context:
space:
mode:
authorYang Tang <tangyang.cn@gmail.com>2018-10-12 21:09:22 +0300
committerYang Tang <tangyang.cn@gmail.com>2018-10-12 21:09:22 +0300
commit5737ca6e81a3191cb232085877b5894be0a052ed (patch)
treec9bba845bd1e7b4d51aee705f50dfc3830031b49 /test/segments/nodeenv.spec
parenta98fa7ff54a0dc7b926deec99b69d5a0a0864a94 (diff)
Remove extra %f in unit tests
Diffstat (limited to 'test/segments/nodeenv.spec')
-rwxr-xr-xtest/segments/nodeenv.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/segments/nodeenv.spec b/test/segments/nodeenv.spec
index 2e9d779e..3764f1f0 100755
--- a/test/segments/nodeenv.spec
+++ b/test/segments/nodeenv.spec
@@ -73,7 +73,7 @@ function testNodeenvSegmentPrintsAtLeastNodeEnvWithoutNode() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{002}⬢ %f%F{002}[node-env] %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{002}⬢ %F{002}[node-env] %k%F{000}%f " "$(build_left_prompt)"
unset NODE_VIRTUAL_ENV
unalias node
@@ -90,7 +90,7 @@ function testNodeenvSegmentWorks() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{002}⬢ %f%F{002}v1.2.3[node-env] %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{002}⬢ %F{002}v1.2.3[node-env] %k%F{000}%f " "$(build_left_prompt)"
unfunction node
unset NODE_VIRTUAL_ENV