mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 13:41:56 +00:00
Merge branch 'master' into next
This commit is contained in:
commit
01893a015b
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ function testColorOverridingForCleanStateWorks() {
|
||||||
cd $FOLDER
|
cd $FOLDER
|
||||||
git init 1>/dev/null
|
git init 1>/dev/null
|
||||||
|
|
||||||
assertEquals "%K{white} %F{cyan}master %k%F{white}%f " "$(build_left_prompt)"
|
assertEquals "%K{white} %F{cyan} master %k%F{white}%f " "$(build_left_prompt)"
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
rm -fr /tmp/powerlevel9k-test
|
rm -fr /tmp/powerlevel9k-test
|
||||||
|
@ -47,7 +47,7 @@ function testColorOverridingForModifiedStateWorks() {
|
||||||
git commit -m "test" 1>/dev/null
|
git commit -m "test" 1>/dev/null
|
||||||
echo "test" > testfile
|
echo "test" > testfile
|
||||||
|
|
||||||
assertEquals "%K{yellow} %F{red}master ● %k%F{yellow}%f " "$(build_left_prompt)"
|
assertEquals "%K{yellow} %F{red} master ● %k%F{yellow}%f " "$(build_left_prompt)"
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
rm -fr /tmp/powerlevel9k-test
|
rm -fr /tmp/powerlevel9k-test
|
||||||
|
@ -68,7 +68,7 @@ function testColorOverridingForUntrackedStateWorks() {
|
||||||
git init 1>/dev/null
|
git init 1>/dev/null
|
||||||
touch testfile
|
touch testfile
|
||||||
|
|
||||||
assertEquals "%K{yellow} %F{cyan}master ? %k%F{yellow}%f " "$(build_left_prompt)"
|
assertEquals "%K{yellow} %F{cyan} master ? %k%F{yellow}%f " "$(build_left_prompt)"
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
rm -fr /tmp/powerlevel9k-test
|
rm -fr /tmp/powerlevel9k-test
|
||||||
|
|
Loading…
Reference in a new issue