diff options
author | Michael Allen <michael@michaelallen.io> | 2015-10-16 13:38:59 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-10-16 13:38:59 +0100 |
commit | 2091b01b75043fd37a3a33f1c9394f70f98ea8f7 (patch) | |
tree | bb34ebe9845300060f44e8ece0d0d7dee1317fb4 /test-commits.sh | |
parent | 740cb5bb91d832b4bdb608280ff7df6812d21e92 (diff) | |
parent | eb29662433b833b3a14ee9e79a7aa8d2a0c253ba (diff) | |
download | git-sonar-2091b01b75043fd37a3a33f1c9394f70f98ea8f7.tar.gz git-sonar-2091b01b75043fd37a3a33f1c9394f70f98ea8f7.zip |
Merge branch 'master' of github.com:michaeldfallen/git-radar into cbandera_stash_indicator
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 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 |