]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1309-early-config.sh
t1309: use a neutral branch name in the `onbranch` test cases
[thirdparty/git.git] / t / t1309-early-config.sh
index ebb8e1aecbf424e1ec2d522bd7806c78992bedb6..b4a9158307fd210079211165fb507a037ceb75f0 100755 (executable)
@@ -91,11 +91,11 @@ test_expect_failure 'ignore .git/ with invalid config' '
 
 test_expect_success 'early config and onbranch' '
        echo "[broken" >broken &&
-       test_with_config "[includeif \"onbranch:master\"]path=../broken"
+       test_with_config "[includeif \"onbranch:topic\"]path=../broken"
 '
 
 test_expect_success 'onbranch config outside of git repo' '
-       test_config_global includeIf.onbranch:master.path non-existent &&
+       test_config_global includeIf.onbranch:topic.path non-existent &&
        nongit git help
 '