aboutsummaryrefslogtreecommitdiff
path: root/test/segments/vcs-hg.spec
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-08-17 19:53:26 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-08-17 19:53:26 +0300
commitdf0c2198a0a7cb523c3d3428e1d70cb49018cd60 (patch)
treedc4599772b1560e30c55c0670d25b198fb5c72e9 /test/segments/vcs-hg.spec
parent8e966e3636ce7c7162b60763088252b7111985e5 (diff)
Fix tests
Diffstat (limited to 'test/segments/vcs-hg.spec')
-rwxr-xr-xtest/segments/vcs-hg.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/segments/vcs-hg.spec b/test/segments/vcs-hg.spec
index 27243fbe..2903f544 100755
--- a/test/segments/vcs-hg.spec
+++ b/test/segments/vcs-hg.spec
@@ -40,7 +40,7 @@ function testColorOverridingForCleanStateWorks() {
# Load Powerlevel9k
source ${P9K_HOME}/powerlevel9k.zsh-theme
- assertEquals "%K{015} %F{014} default %k%F{015}%f " "$(build_left_prompt)"
+ assertEquals "%K{007} %F{006} default %k%F{007}%f " "$(build_left_prompt)"
}
function testColorOverridingForModifiedStateWorks() {
@@ -57,7 +57,7 @@ function testColorOverridingForModifiedStateWorks() {
# Load Powerlevel9k
source ${P9K_HOME}/powerlevel9k.zsh-theme
- assertEquals "%K{011} %F{009} default ● %k%F{011}%f " "$(build_left_prompt)"
+ assertEquals "%K{003} %F{001} default ● %k%F{003}%f " "$(build_left_prompt)"
}
# There is no staging area in mercurial, therefore there are no "untracked"
@@ -74,7 +74,7 @@ function testAddedFilesIconWorks() {
# Load Powerlevel9k
source ${P9K_HOME}/powerlevel9k.zsh-theme
- assertEquals "%K{011} %F{000} default ● %k%F{011}%f " "$(build_left_prompt)"
+ assertEquals "%K{003} %F{000} default ● %k%F{003}%f " "$(build_left_prompt)"
}
# We don't support tagging in mercurial right now..
@@ -137,7 +137,7 @@ function testActionHintWorks() {
# Load Powerlevel9k
source ${P9K_HOME}/powerlevel9k.zsh-theme
- assertEquals "%K{011} %F{000} default %F{red}| merging%f %k%F{011}%f " "$(build_left_prompt)"
+ assertEquals "%K{003} %F{000} default %F{red}| merging%f %k%F{003}%f " "$(build_left_prompt)"
}
function testShorteningCommitHashWorks() {