We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c0b239 commit f66fe2cCopy full SHA for f66fe2c
tests/testsuite/build_auth.rs
@@ -103,8 +103,10 @@ fn http_auth_offered() {
103
")
104
.build();
105
106
+ // This is a "contains" check because the last error differs by platform,
107
+ // may span multiple lines, and isn't relevant to this test.
108
assert_that(p.cargo("build"),
- execs().with_status(101).with_stderr(&format!("\
109
+ execs().with_status(101).with_stderr_contains(&format!("\
110
[UPDATING] git repository `http://{addr}/foo/bar`
111
[ERROR] failed to load source for a dependency on `bar`
112
@@ -119,8 +121,6 @@ Caused by:
119
121
attempted to find username/password via `credential.helper`, but [..]
120
122
123
Caused by:
- curl error: Failed to connect to 127.0.0.1 port [..]: Connection refused
-; class=Net (12)
124
",
125
addr = addr)));
126
0 commit comments