summaryrefslogtreecommitdiffstats
path: root/test-commits.sh
diff options
context:
space:
mode:
authorClaudio Bandera <claudio.bandera@kit.edu>2015-10-16 16:49:10 +0200
committerClaudio Bandera <claudio.bandera@kit.edu>2015-10-16 16:49:10 +0200
commit5fd8e9dbdb540e8418bae51b882c7fd90458c13b (patch)
tree2b8ce9697b269eef1fb3490f95b67947facc27f5 /test-commits.sh
parenta7f6b47969e9c734ff28f5b49fdbbee6a6095b93 (diff)
parentf043242a00cc9a178ffa8205462c9cd61ffe36b2 (diff)
downloadgit-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-xtest-commits.sh18
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