summaryrefslogtreecommitdiff
path: root/test/segments/swap.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/swap.spec
parentc7e543ff2382036b7ddc97af700164aa401f069f (diff)
parentef5f9bb1b494bcb1ceb81f7c833750d85701ca4a (diff)
Merge branch 'fix_colors' into prepare_066
Diffstat (limited to 'test/segments/swap.spec')
-rwxr-xr-xtest/segments/swap.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/segments/swap.spec b/test/segments/swap.spec
index 75fa662d..2ad5188d 100755
--- a/test/segments/swap.spec
+++ b/test/segments/swap.spec
@@ -36,7 +36,7 @@ function testSwapSegmentWorksOnOsx() {
source ${P9K_HOME}/powerlevel9k.zsh-theme
local OS="OSX" # Fake OSX
- assertEquals "%K{011} %F{000%}SWP %f%F{000}1.58G " "$(prompt_swap left 1 false ${FOLDER})"
+ assertEquals "%K{011} %F{000}SWP %f%F{000}1.58G " "$(prompt_swap left 1 false ${FOLDER})"
unfunction sysctl
}
@@ -52,7 +52,7 @@ function testSwapSegmentWorksOnLinux() {
source ${P9K_HOME}/powerlevel9k.zsh-theme
local OS="Linux" # Fake Linux
- assertEquals "%K{011} %F{000%}SWP %f%F{000}0.95G " "$(prompt_swap left 1 false ${FOLDER})"
+ assertEquals "%K{011} %F{000}SWP %f%F{000}0.95G " "$(prompt_swap left 1 false ${FOLDER})"
}
source shunit2/shunit2 \ No newline at end of file