mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-18 22:12:32 +01:00
Fix tests
This commit is contained in:
parent
8e966e3636
commit
df0c2198a0
37 changed files with 207 additions and 207 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue