summaryrefslogtreecommitdiffstats
path: root/test-commits.sh
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-10-15 12:26:26 +0100
committerMichael Allen <michael@michaelallen.io>2015-10-15 12:26:26 +0100
commit5640131d43ae3ff1afcc23a0a606d9cea72a39e1 (patch)
tree462d90a1f890135e770e2359f15f85cb63af7352 /test-commits.sh
parent6b488da633c28f58f4833bb035cb727eca1d176d (diff)
parent01149058a6df992547195b4147551ad7a64baf3c (diff)
downloadgit-sonar-5640131d43ae3ff1afcc23a0a606d9cea72a39e1.tar.gz
git-sonar-5640131d43ae3ff1afcc23a0a606d9cea72a39e1.zip
Merge pull request #65 from michaeldfallen/format-stringv0.4
Prompt format string
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 1a4a86c..6c317f9 100755
--- a/test-commits.sh
+++ b/test-commits.sh
@@ -402,9 +402,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
@@ -414,15 +414,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