summaryrefslogtreecommitdiff
path: root/test/segments/ram.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/ram.spec
parenta98fa7ff54a0dc7b926deec99b69d5a0a0864a94 (diff)
Remove extra %f in unit tests
Diffstat (limited to 'test/segments/ram.spec')
-rwxr-xr-xtest/segments/ram.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/segments/ram.spec b/test/segments/ram.spec
index 2c9f1693..292c784b 100755
--- a/test/segments/ram.spec
+++ b/test/segments/ram.spec
@@ -36,7 +36,7 @@ Pages inactive: 1313411.
source ${P9K_HOME}/powerlevel9k.zsh-theme
local OS="OSX" # Fake OSX
- assertEquals "%K{003} %F{000}RAM %f%F{000}6.15G " "$(prompt_ram left 1 false ${FOLDER})"
+ assertEquals "%K{003} %F{000}RAM %F{000}6.15G " "$(prompt_ram left 1 false ${FOLDER})"
unalias vm_stat
}
@@ -49,7 +49,7 @@ function testRamSegmentWorksOnBsd() {
source ${P9K_HOME}/powerlevel9k.zsh-theme
local OS="BSD" # Fake BSD
- assertEquals "%K{003} %F{000}RAM %f%F{000}0.29M " "$(prompt_ram left 1 false ${FOLDER})"
+ assertEquals "%K{003} %F{000}RAM %F{000}0.29M " "$(prompt_ram left 1 false ${FOLDER})"
}
function testRamSegmentWorksOnLinux() {
@@ -60,7 +60,7 @@ function testRamSegmentWorksOnLinux() {
source ${P9K_HOME}/powerlevel9k.zsh-theme
local OS="Linux" # Fake Linux
- assertEquals "%K{003} %F{000}RAM %f%F{000}0.29G " "$(prompt_ram left 1 false ${FOLDER})"
+ assertEquals "%K{003} %F{000}RAM %F{000}0.29G " "$(prompt_ram left 1 false ${FOLDER})"
}
source shunit2/shunit2 \ No newline at end of file