cat >expect <<-\EOF &&
branch-one
main
- * (HEAD detached from fromtag)
branch-two
+ * (HEAD detached from fromtag)
EOF
git branch --sort=-objectsize >actual &&
test_i18ncmp expect actual
test_i18ncmp expect actual &&
cat >expect <<-\EOF &&
- * (HEAD detached from fromtag)
branch-one
branch-two
main
+ * (HEAD detached from fromtag)
EOF
git branch --sort=-type >actual &&
test_i18ncmp expect actual