mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-23 12:40:08 +00:00
Updated test for POWERLEVEL9K_DIR_PATH_ABSOLUTE
This commit is contained in:
parent
ddcdad77a7
commit
75a763f901
1 changed files with 2 additions and 2 deletions
|
@ -18,11 +18,11 @@ function tearDown() {
|
||||||
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
|
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
|
||||||
}
|
}
|
||||||
|
|
||||||
function testAbsolutePathWorks() {
|
function testDirPathAbsoluteWorks() {
|
||||||
POWERLEVEL9K_DIR_PATH_ABSOLUTE=true
|
POWERLEVEL9K_DIR_PATH_ABSOLUTE=true
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
assertEquals "%K{blue} %F{black}…/12345678/123456789 %k%F{blue}%f " "$(build_left_prompt)"
|
assertEquals "%K{blue} %F{black}/home/travis %k%F{blue}%f " "$(build_left_prompt)"
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
unset POWERLEVEL9K_DIR_PATH_ABSOLUTE
|
unset POWERLEVEL9K_DIR_PATH_ABSOLUTE
|
||||||
|
|
Loading…
Reference in a new issue