diff options
author | Yang Tang <tangyang.cn@gmail.com> | 2018-10-12 21:09:22 +0300 |
---|---|---|
committer | Yang Tang <tangyang.cn@gmail.com> | 2018-10-12 21:09:22 +0300 |
commit | 5737ca6e81a3191cb232085877b5894be0a052ed (patch) | |
tree | c9bba845bd1e7b4d51aee705f50dfc3830031b49 /test/segments/anaconda.spec | |
parent | a98fa7ff54a0dc7b926deec99b69d5a0a0864a94 (diff) |
Remove extra %f in unit tests
Diffstat (limited to 'test/segments/anaconda.spec')
-rwxr-xr-x | test/segments/anaconda.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/segments/anaconda.spec b/test/segments/anaconda.spec index efcfc030..a25aed9b 100755 --- a/test/segments/anaconda.spec +++ b/test/segments/anaconda.spec @@ -35,7 +35,7 @@ function testAnacondaSegmentWorksIfOnlyAnacondaPathIsSet() { CONDA_ENV_PATH=/tmp unset CONDA_PREFIX - assertEquals "%K{004} %F{000}icon-here %f%F{000}(tmp) %k%F{004}%f " "$(build_left_prompt)" + assertEquals "%K{004} %F{000}icon-here %F{000}(tmp) %k%F{004}%f " "$(build_left_prompt)" } function testAnacondaSegmentWorksIfOnlyAnacondaPrefixIsSet() { @@ -49,7 +49,7 @@ function testAnacondaSegmentWorksIfOnlyAnacondaPrefixIsSet() { unset CONDA_ENV_PATH local CONDA_PREFIX="test" - assertEquals "%K{004} %F{000}icon-here %f%F{000}(test) %k%F{004}%f " "$(build_left_prompt)" + assertEquals "%K{004} %F{000}icon-here %F{000}(test) %k%F{004}%f " "$(build_left_prompt)" } function testAnacondaSegmentWorks() { @@ -63,7 +63,7 @@ function testAnacondaSegmentWorks() { local CONDA_ENV_PATH=/tmp local CONDA_PREFIX="test" - assertEquals "%K{004} %F{000}icon-here %f%F{000}(tmptest) %k%F{004}%f " "$(build_left_prompt)" + assertEquals "%K{004} %F{000}icon-here %F{000}(tmptest) %k%F{004}%f " "$(build_left_prompt)" } source shunit2/shunit2
\ No newline at end of file |