]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9902-completion.sh
strmap: enable allocations to come from a mem_pool
[thirdparty/git.git] / t / t9902-completion.sh
index 8425b9a531a6809bdb6dcdd272f589b31f713de6..7b7bc6e4bd86a39e5d0eeede2eb566efe434e239 100755 (executable)
@@ -542,37 +542,37 @@ test_expect_success '__gitcomp - doesnt fail because of invalid variable name' '
 '
 
 read -r -d "" refs <<-\EOF
+main
 maint
-master
 next
 seen
 EOF
 
 test_expect_success '__gitcomp_nl - trailing space' '
        test_gitcomp_nl "m" "$refs" <<-EOF
+       main Z
        maint Z
-       master Z
        EOF
 '
 
 test_expect_success '__gitcomp_nl - prefix' '
        test_gitcomp_nl "--fixup=m" "$refs" "--fixup=" "m" <<-EOF
+       --fixup=main Z
        --fixup=maint Z
-       --fixup=master Z
        EOF
 '
 
 test_expect_success '__gitcomp_nl - suffix' '
        test_gitcomp_nl "branch.ma" "$refs" "branch." "ma" "." <<-\EOF
+       branch.main.Z
        branch.maint.Z
-       branch.master.Z
        EOF
 '
 
 test_expect_success '__gitcomp_nl - no suffix' '
        test_gitcomp_nl "ma" "$refs" "" "ma" "" <<-\EOF
+       mainZ
        maintZ
-       masterZ
        EOF
 '