fix broken tests

pull/1394/head
Zhao Li 2019-07-08 13:28:32 -10:00
parent 6329d3bdd2
commit 49d8c8750a
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,8 @@ setup_repo_with_upstream() {
git add file
git stash
SCM_GIT_SHOW_STASH_INFO=true
git_prompt_vars
assert_equal "$SCM_BRANCH" "${pre} {1}"
@ -320,6 +322,8 @@ setup_repo_with_upstream() {
echo "line2" >> file1
git add file1
SCM_GIT_SHOW_DETAILS=true
git_prompt_vars
assert_equal "$SCM_BRANCH" "${pre} S:1"
assert_equal "$SCM_STATE" " ✗"