summaryrefslogtreecommitdiffstats
path: root/test-branches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-branches.sh')
-rwxr-xr-xtest-branches.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/test-branches.sh b/test-branches.sh
index b3f0ac2..891a819 100755
--- a/test-branches.sh
+++ b/test-branches.sh
@@ -97,8 +97,13 @@ test_remote_branch_name_quiet_when_not_in_repo() {
echo "$debug_output"
- assertEquals "0" "$usages"
-
+ if [[ $OSTYPE == darwin* ]];then
+ expected=" 0"
+ else
+ expected="0"
+ fi;
+ assertEquals "$expected" "$usages"
+
rm_tmp
}