aboutsummaryrefslogtreecommitdiff
path: root/test/segments/vi_mode.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/vi_mode.spec
parent8e966e3636ce7c7162b60763088252b7111985e5 (diff)
Fix tests
Diffstat (limited to 'test/segments/vi_mode.spec')
-rwxr-xr-xtest/segments/vi_mode.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/segments/vi_mode.spec b/test/segments/vi_mode.spec
index 8535cc4e..6a3a07b5 100755
--- a/test/segments/vi_mode.spec
+++ b/test/segments/vi_mode.spec
@@ -15,7 +15,7 @@ function testViInsertModeWorks() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{012}INSERT " "$(prompt_vi_mode left 1 false)"
+ assertEquals "%K{000} %F{004}INSERT " "$(prompt_vi_mode left 1 false)"
}
function testViInsertModeWorksWhenLabeledAsMain() {
@@ -24,7 +24,7 @@ function testViInsertModeWorksWhenLabeledAsMain() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{012}INSERT " "$(prompt_vi_mode left 1 false)"
+ assertEquals "%K{000} %F{004}INSERT " "$(prompt_vi_mode left 1 false)"
}
function testViCommandModeWorks() {
@@ -33,7 +33,7 @@ function testViCommandModeWorks() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{015}NORMAL " "$(prompt_vi_mode left 1 false)"
+ assertEquals "%K{000} %F{007}NORMAL " "$(prompt_vi_mode left 1 false)"
}
function testViInsertModeStringIsCustomizable() {
@@ -42,7 +42,7 @@ function testViInsertModeStringIsCustomizable() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{012}INSERT " "$(prompt_vi_mode left 1 false)"
+ assertEquals "%K{000} %F{004}INSERT " "$(prompt_vi_mode left 1 false)"
}
source shunit2/shunit2 \ No newline at end of file