diff options
Diffstat (limited to 'test-branches.sh')
-rwxr-xr-x | test-branches.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test-branches.sh b/test-branches.sh index 5c33d23..891a819 100755 --- a/test-branches.sh +++ b/test-branches.sh @@ -1,3 +1,4 @@ +#!/bin/bash scriptDir="$(cd "$(dirname "$0")"; pwd)" source "$scriptDir/radar-base.sh" @@ -96,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 } |