summaryrefslogtreecommitdiffstats
path: root/test-branches.sh
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-09-16 14:18:30 +0100
committerMichael Allen <michael@michaelallen.io>2015-09-16 14:22:00 +0100
commit1fcd42c3ecc41b6a6c4c9e75b6bfe274a1b595e2 (patch)
treeaaea20d69664a8fec330bd8d51e240440becaaba /test-branches.sh
parent3884b1fdf423f4e8655dd47bef0ccb2ebdd68c6d (diff)
downloadgit-sonar-1fcd42c3ecc41b6a6c4c9e75b6bfe274a1b595e2.tar.gz
git-sonar-1fcd42c3ecc41b6a6c4c9e75b6bfe274a1b595e2.zip
Fix readable_branch_name test
Diffstat (limited to '')
-rwxr-xr-xtest-branches.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-branches.sh b/test-branches.sh
index c886e82..f380a2d 100755
--- a/test-branches.sh
+++ b/test-branches.sh
@@ -54,7 +54,8 @@ test_detached_from_branch() {
assertNotEquals "master" "$(branch_name)"
assertEquals "$sha" "$(branch_ref)"
- assertEquals "detached@$sha" "$(readable_branch_name)"
+ assertEquals "detached@$sha" "$(zsh_readable_branch_name)"
+ assertEquals "detached@$sha" "$(bash_readable_branch_name)"
rm_tmp
}