aboutsummaryrefslogtreecommitdiff
path: root/test/segments/context.spec
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2018-09-05 20:54:22 +0300
committerGitHub <noreply@github.com>2018-09-05 20:54:22 +0300
commit96f3c1da10e9b1b834402da7978e448436e8d000 (patch)
treeb283c264572d9749631af54d307b5e477e2edee8 /test/segments/context.spec
parente207dec8de036112fcac8b8face41e87e1d0b7ec (diff)
parent94897a40f0775e54e181e98fd152d981ca188e98 (diff)
Merge pull request #959 from dritter/fix_color_values
[Discussion] Change bright colors to old version
Diffstat (limited to 'test/segments/context.spec')
-rwxr-xr-xtest/segments/context.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/segments/context.spec b/test/segments/context.spec
index 23da0f2d..07300370 100755
--- a/test/segments/context.spec
+++ b/test/segments/context.spec
@@ -29,7 +29,7 @@ function testContextSegmentDoesNotGetRenderedWithDefaultUser() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{015} %F{000}world %k%F{015}%f " "$(build_left_prompt)"
+ assertEquals "%K{007} %F{000}world %k%F{007}%f " "$(build_left_prompt)"
}
function testContextSegmentDoesGetRenderedWhenSshConnectionIsOpen() {
@@ -43,7 +43,7 @@ function testContextSegmentDoesGetRenderedWhenSshConnectionIsOpen() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{011}%n@%m %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{003}%n@%m %k%F{000}%f " "$(build_left_prompt)"
unfunction sudo
}
@@ -58,7 +58,7 @@ function testContextSegmentWithForeignUser() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{011}%n@%m %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{003}%n@%m %k%F{000}%f " "$(build_left_prompt)"
unfunction sudo
}
@@ -72,7 +72,7 @@ function testContextSegmentWithRootUser() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{011}%n@%m %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{003}%n@%m %k%F{000}%f " "$(build_left_prompt)"
}
function testOverridingContextTemplate() {
@@ -83,7 +83,7 @@ function testOverridingContextTemplate() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{011}xx %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{003}xx %k%F{000}%f " "$(build_left_prompt)"
}
function testContextSegmentIsShownIfDefaultUserIsSetWhenForced() {
@@ -95,7 +95,7 @@ function testContextSegmentIsShownIfDefaultUserIsSetWhenForced() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{011}%n@%m %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{003}%n@%m %k%F{000}%f " "$(build_left_prompt)"
}
function testContextSegmentIsShownIfForced() {
@@ -107,7 +107,7 @@ function testContextSegmentIsShownIfForced() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
- assertEquals "%K{000} %F{011}$(whoami) %k%F{000}%f " "$(build_left_prompt)"
+ assertEquals "%K{000} %F{003}$(whoami) %k%F{000}%f " "$(build_left_prompt)"
}
source shunit2/shunit2 \ No newline at end of file