Code

branch: introduce --list option
[git.git] / t / t3203-branch-output.sh
index 6b7c118e4fcbf3855318b2e9e3b721d07950fd25..97d10b1884d39cdef6efc9a0ce7384d7538ea366 100755 (executable)
@@ -32,6 +32,11 @@ test_expect_success 'git branch shows local branches' '
        test_cmp expect actual
 '
 
+test_expect_success 'git branch --list shows local branches' '
+       git branch --list >actual &&
+       test_cmp expect actual
+'
+
 cat >expect <<'EOF'
   origin/HEAD -> origin/branch-one
   origin/branch-one