Merge branch 'fg/exclude-bq'
[gitweb.git] / t / t5505-remote.sh
index 2067dc558ff3dc4dcbe1703e5ba5b7511e85d661..eb637184a00007c61e6d92f7b5546eed6ec5a0ae 100755 (executable)
@@ -421,6 +421,12 @@ test_expect_success 'remote prune to cause a dangling symref' '
                git branch -a
        ) 2>err &&
        ! grep "points nowhere" err
+       (
+               cd seven &&
+               test_must_fail git branch nomore origin
+       ) 2>err &&
+       grep "dangling symref" err
 '
 
 test_done
+