mirror of
https://github.com/rust-lang/cargo
synced 2024-10-02 14:04:23 +00:00
Relax a few error messages from libgit2
They were tweaked a bit recently so let's enusre they're not too strict.
This commit is contained in:
parent
6fcfaaca33
commit
873f69c0b8
|
@ -389,7 +389,7 @@ Caused by:
|
|||
failed to clone into: [..]
|
||||
|
||||
Caused by:
|
||||
[[..]] 'file:///' is not a valid local file URI
|
||||
[..]'file:///' is not a valid local file URI[..]
|
||||
"));
|
||||
}
|
||||
|
||||
|
|
|
@ -166,14 +166,14 @@ Caused by:
|
|||
{errmsg}
|
||||
",
|
||||
errmsg = if cfg!(windows) {
|
||||
"[[..]] failed to send request: [..]\n"
|
||||
"[..]failed to send request: [..]"
|
||||
} else if cfg!(target_os = "macos") {
|
||||
// OSX is difficult to tests as some builds may use
|
||||
// Security.framework and others may use OpenSSL. In that case let's
|
||||
// just not verify the error message here.
|
||||
"[..]"
|
||||
} else {
|
||||
"[..] SSL error: [..]"
|
||||
"[..]SSL error: [..]"
|
||||
})));
|
||||
|
||||
t.join().ok().unwrap();
|
||||
|
@ -207,7 +207,7 @@ fn ssh_something_happens() {
|
|||
", addr = addr))
|
||||
.with_stderr_contains("\
|
||||
Caused by:
|
||||
[[..]] failed to start SSH session: Failed getting banner
|
||||
[..]failed to start SSH session: Failed getting banner[..]
|
||||
"));
|
||||
t.join().ok().unwrap();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue