mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Update tests
This commit is contained in:
parent
54bbc080a9
commit
25b835f12d
1 changed files with 3 additions and 3 deletions
|
|
@ -1118,7 +1118,7 @@ mod cli {
|
|||
mock_server_no_content.uri()
|
||||
)))
|
||||
.stderr(contains(format!(
|
||||
"[429] {}/ | Network error: Too Many Requests\n",
|
||||
"[429] {}/ | Rejected status code (this depends on your \"accept\" configuration): Too Many Requests\n",
|
||||
mock_server_too_many_requests.uri()
|
||||
)));
|
||||
|
||||
|
|
@ -1176,11 +1176,11 @@ mod cli {
|
|||
.failure()
|
||||
.code(2)
|
||||
.stdout(contains(format!(
|
||||
"[418] {}/ | Network error: I\'m a teapot",
|
||||
r#"[418] {}/ | Rejected status code (this depends on your "accept" configuration): I'm a teapot"#,
|
||||
mock_server_teapot.uri()
|
||||
)))
|
||||
.stdout(contains(format!(
|
||||
"[500] {}/ | Network error: Internal Server Error",
|
||||
r#"[500] {}/ | Rejected status code (this depends on your "accept" configuration): Internal Server Error"#,
|
||||
mock_server_server_error.uri()
|
||||
)));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue