summaryrefslogtreecommitdiffstats
path: root/test-branches.sh
diff options
context:
space:
mode:
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 b972a25..b3f0ac2 100755
--- a/test-branches.sh
+++ b/test-branches.sh
@@ -55,6 +55,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