aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2016-02-26 19:29:00 +0300
committerDominik Ritter <dritter03@googlemail.com>2016-02-26 19:29:00 +0300
commitfa33902c0099c1cb31580ae50ff9d6078c6b7a23 (patch)
treec1380d411361db7e77fe1d1d4548a42614495f14 /test
parentb3fae488934fef856805a9012f08fb4146764aa6 (diff)
Fix test
Diffstat (limited to 'test')
-rwxr-xr-xtest/segments/vcs.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/segments/vcs.spec b/test/segments/vcs.spec
index 862067b7..c33b564d 100755
--- a/test/segments/vcs.spec
+++ b/test/segments/vcs.spec
@@ -40,10 +40,14 @@ function testColorOverridingForModifiedStateWorks() {
mkdir -p $FOLDER
cd $FOLDER
git init 1>/dev/null
+ git config user.email "test@powerlevel9k.theme"
+ git config user.name "Testing Tester"
touch testfile
git add testfile
+ git commit -m "test" 1>/dev/null
+ 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 -
rm -fr /tmp/powerlevel9k-test