diff options
author | Michael Allen <michael@michaelallen.io> | 2015-09-16 15:29:05 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-09-16 15:29:05 +0100 |
commit | 1f6a8f84946a0cb6936916f47b5a3870fa12a5a6 (patch) | |
tree | 71fe36a68b756540e35e996d6a602581c5391d86 /test-commits.sh | |
parent | 1fcd42c3ecc41b6a6c4c9e75b6bfe274a1b595e2 (diff) | |
parent | eb9c08b9b0e05ca2aaf958e34979f6ae58af4e61 (diff) | |
download | git-sonar-1f6a8f84946a0cb6936916f47b5a3870fa12a5a6.tar.gz git-sonar-1f6a8f84946a0cb6936916f47b5a3870fa12a5a6.zip |
Merge pull request #63 from michaeldfallen/merge-render-functions
Merge render functions
Diffstat (limited to 'test-commits.sh')
-rwxr-xr-x | test-commits.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-commits.sh b/test-commits.sh index 8aa2da2..1a4a86c 100755 --- a/test-commits.sh +++ b/test-commits.sh @@ -378,6 +378,7 @@ test_local_commits() { assertEquals "" "$(zsh_color_local_commits)" assertEquals "" "$(bash_color_local_commits)" + assertEquals "" "$(color_local_commits)" git init --quiet touch README @@ -394,6 +395,7 @@ test_local_commits() { assertEquals "" "$(zsh_color_local_commits)" assertEquals "" "$(bash_color_local_commits)" + assertEquals "" "$(color_local_commits)" cd "$repo" echo "bar" > bar @@ -402,6 +404,7 @@ test_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 @@ -413,11 +416,13 @@ test_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)" } . ./shunit/shunit2 |