summaryrefslogtreecommitdiffstats
path: root/test-branches.sh
diff options
context:
space:
mode:
authorClaudio Bandera <claudio.bandera@kit.edu>2015-09-17 17:52:40 +0200
committerClaudio Bandera <claudio.bandera@kit.edu>2015-09-17 17:52:40 +0200
commitf16f1e67a2f2908bfb11fa67f1a5185bc0b2be0f (patch)
treee4b1bbfb70317f0cb5247b3416ceeb6621a52be4 /test-branches.sh
parent4a7d636bad0d03af22f440bef9bd141bfc0dc309 (diff)
parent1f6a8f84946a0cb6936916f47b5a3870fa12a5a6 (diff)
downloadgit-sonar-f16f1e67a2f2908bfb11fa67f1a5185bc0b2be0f.tar.gz
git-sonar-f16f1e67a2f2908bfb11fa67f1a5185bc0b2be0f.zip
Merge branch 'master' into feature/stash_indicator
Conflicts: prompt.bash test
Diffstat (limited to 'test-branches.sh')
-rwxr-xr-xtest-branches.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-branches.sh b/test-branches.sh
index c886e82..5c33d23 100755
--- a/test-branches.sh
+++ b/test-branches.sh
@@ -54,6 +54,8 @@ test_detached_from_branch() {
assertNotEquals "master" "$(branch_name)"
assertEquals "$sha" "$(branch_ref)"
+ assertEquals "detached@$sha" "$(zsh_readable_branch_name)"
+ assertEquals "detached@$sha" "$(bash_readable_branch_name)"
assertEquals "detached@$sha" "$(readable_branch_name)"
rm_tmp