aboutsummaryrefslogtreecommitdiff
path: root/test/segments/nvm.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/nvm.spec
parenta98fa7ff54a0dc7b926deec99b69d5a0a0864a94 (diff)
Remove extra %f in unit tests
Diffstat (limited to 'test/segments/nvm.spec')
-rwxr-xr-xtest/segments/nvm.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/segments/nvm.spec b/test/segments/nvm.spec
index c9ed430d..b53bf22e 100755
--- a/test/segments/nvm.spec
+++ b/test/segments/nvm.spec
@@ -51,7 +51,7 @@ function testNvmSegmentWorksWithoutHavingADefaultAlias() {
[[ ${1} == 'current' ]] && echo 'v4.6.0' || echo 'v1.4.0'
}
- assertEquals "%K{005} %F{000}⬢ %f%F{000}4.6.0 %k%F{005}%f " "$(build_left_prompt)"
+ assertEquals "%K{005} %F{000}⬢ %F{000}4.6.0 %k%F{005}%f " "$(build_left_prompt)"
}
function testNvmSegmentPrintsNothingWhenOnDefaultVersion() {