]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1300-config.sh
t1300: fix config file syntax error descriptions
[thirdparty/git.git] / t / t1300-config.sh
index 2575279ab84e8a32239a7ea30f72022d3ff6b9f8..d566729d74f53131c4333eeb88e74f24791c677d 100755 (executable)
@@ -1571,7 +1571,7 @@ test_expect_success 'git config --edit respects core.editor' '
 # malformed configuration files
 test_expect_success 'barf on syntax error' '
        cat >.git/config <<-\EOF &&
-       # broken section line
+       # broken key=value
        [section]
        key garbage
        EOF
@@ -1591,7 +1591,7 @@ test_expect_success 'barf on incomplete section header' '
 
 test_expect_success 'barf on incomplete string' '
        cat >.git/config <<-\EOF &&
-       # broken section line
+       # broken value string
        [section]
        key = "value string
        EOF