diff options
author | Claudio Bandera <claudio.bandera@kit.edu> | 2015-10-16 16:49:10 +0200 |
---|---|---|
committer | Claudio Bandera <claudio.bandera@kit.edu> | 2015-10-16 16:49:10 +0200 |
commit | 5fd8e9dbdb540e8418bae51b882c7fd90458c13b (patch) | |
tree | 2b8ce9697b269eef1fb3490f95b67947facc27f5 /test-commits.sh | |
parent | a7f6b47969e9c734ff28f5b49fdbbee6a6095b93 (diff) | |
parent | f043242a00cc9a178ffa8205462c9cd61ffe36b2 (diff) | |
download | git-sonar-5fd8e9dbdb540e8418bae51b882c7fd90458c13b.tar.gz git-sonar-5fd8e9dbdb540e8418bae51b882c7fd90458c13b.zip |
Merge remote-tracking branch 'upstream/master' into hotfix/unittests
Diffstat (limited to 'test-commits.sh')
-rwxr-xr-x | test-commits.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test-commits.sh b/test-commits.sh index c97c56a..7634103 100755 --- a/test-commits.sh +++ b/test-commits.sh @@ -410,9 +410,9 @@ test_local_commits() { git add . git commit -m "test commit" --quiet - assertEquals " 1$up" "$(zsh_color_local_commits)" - assertEquals " 1$up" "$(bash_color_local_commits)" - assertEquals " 1$up" "$(color_local_commits)" + assertEquals "1$up" "$(zsh_color_local_commits)" + assertEquals "1$up" "$(bash_color_local_commits)" + assertEquals "1$up" "$(color_local_commits)" cd "$remote" echo "foo" > foo @@ -422,15 +422,15 @@ test_local_commits() { cd "$repo" git fetch origin --quiet - assertEquals " 1${both}1" "$(zsh_color_local_commits)" - assertEquals " 1${both}1" "$(bash_color_local_commits)" - assertEquals " 1${both}1" "$(color_local_commits)" + assertEquals "1${both}1" "$(zsh_color_local_commits)" + assertEquals "1${both}1" "$(bash_color_local_commits)" + assertEquals "1${both}1" "$(color_local_commits)" git reset --hard HEAD^ --quiet - assertEquals " 1$down" "$(zsh_color_local_commits)" - assertEquals " 1$down" "$(bash_color_local_commits)" - assertEquals " 1$down" "$(color_local_commits)" + assertEquals "1$down" "$(zsh_color_local_commits)" + assertEquals "1$down" "$(bash_color_local_commits)" + assertEquals "1$down" "$(color_local_commits)" } . ./shunit/shunit2 |