]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0300-credentials.sh
credential: die() when parsing invalid urls
[thirdparty/git.git] / t / t0300-credentials.sh
index 646f8456ff772f91e018d65d859ab60e6c55ec44..efed3ea2955a80b75dbdf646752cd1093d21faaa 100755 (executable)
@@ -406,8 +406,7 @@ test_expect_success 'url parser rejects embedded newlines' '
        EOF
        cat >expect <<-\EOF &&
        warning: url contains a newline in its host component: https://one.example.com?%0ahost=two.example.com/
-       warning: skipping credential lookup for url: https://one.example.com?%0ahost=two.example.com/
-       fatal: refusing to work with credential missing host field
+       fatal: credential url cannot be parsed: https://one.example.com?%0ahost=two.example.com/
        EOF
        test_i18ncmp expect stderr
 '