summaryrefslogtreecommitdiff
path: root/test/segments/ram.spec
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-08-09 01:28:50 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-08-09 01:28:50 +0300
commite0630d75736aa274f09545f9849c035c0c6cab9b (patch)
tree764814982754ee87313998d5037db96f0a3bae4a /test/segments/ram.spec
parentc7e543ff2382036b7ddc97af700164aa401f069f (diff)
parentef5f9bb1b494bcb1ceb81f7c833750d85701ca4a (diff)
Merge branch 'fix_colors' into prepare_066
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 1bbd7515..a3d97aa7 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{011} %F{000%}RAM %f%F{000}6.15G " "$(prompt_ram left 1 false ${FOLDER})"
+ assertEquals "%K{011} %F{000}RAM %f%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{011} %F{000%}RAM %f%F{000}0.29M " "$(prompt_ram left 1 false ${FOLDER})"
+ assertEquals "%K{011} %F{000}RAM %f%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{011} %F{000%}RAM %f%F{000}0.29G " "$(prompt_ram left 1 false ${FOLDER})"
+ assertEquals "%K{011} %F{000}RAM %f%F{000}0.29G " "$(prompt_ram left 1 false ${FOLDER})"
}
source shunit2/shunit2 \ No newline at end of file