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/ssh.spec | |
parent | a98fa7ff54a0dc7b926deec99b69d5a0a0864a94 (diff) |
Remove extra %f in unit tests
Diffstat (limited to 'test/segments/ssh.spec')
-rwxr-xr-x | test/segments/ssh.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/segments/ssh.spec b/test/segments/ssh.spec index 3245231f..40723ebd 100755 --- a/test/segments/ssh.spec +++ b/test/segments/ssh.spec @@ -37,7 +37,7 @@ function testSshSegmentWorksIfOnlySshClientIsSet() { # Load Powerlevel9k source powerlevel9k.zsh-theme - assertEquals "%K{000} %F{003}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)" + assertEquals "%K{000} %F{003}ssh-icon %k%F{000}%f " "$(build_left_prompt)" unset SSH_CLIENT } @@ -54,7 +54,7 @@ function testSshSegmentWorksIfOnlySshTtyIsSet() { # Load Powerlevel9k source powerlevel9k.zsh-theme - assertEquals "%K{000} %F{003}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)" + assertEquals "%K{000} %F{003}ssh-icon %k%F{000}%f " "$(build_left_prompt)" unset SSH_TTY } @@ -71,7 +71,7 @@ function testSshSegmentWorksIfAllNecessaryVariablesAreSet() { # Load Powerlevel9k source powerlevel9k.zsh-theme - assertEquals "%K{000} %F{003}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)" + assertEquals "%K{000} %F{003}ssh-icon %k%F{000}%f " "$(build_left_prompt)" unset SSH_TTY unset SSH_CLIENT |