mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-12 09:20:58 +00:00
Remove duplicated information from output
This commit is contained in:
parent
a783ecc103
commit
54bbc080a9
2 changed files with 2 additions and 2 deletions
|
|
@ -562,7 +562,7 @@ mod cli {
|
|||
.failure()
|
||||
.code(2)
|
||||
.stdout(contains(
|
||||
r#"[404] https://github.com/mre/idiomatic-rust-doesnt-exist-man | Rejected status code: 404 Not Found (this depends on your "accept" configuration)"#
|
||||
r#"[404] https://github.com/mre/idiomatic-rust-doesnt-exist-man | Rejected status code (this depends on your "accept" configuration): Not Found"#
|
||||
))
|
||||
.stderr(contains(
|
||||
"There were issues with GitHub URLs. You could try setting a GitHub token and running lychee again.",
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ pub enum ErrorKind {
|
|||
InvalidStatusCode(u16),
|
||||
|
||||
/// The given status code was not accepted (this depends on the `accept` configuration)
|
||||
#[error(r#"Rejected status code: {0} (this depends on your "accept" configuration)"#)]
|
||||
#[error(r#"Rejected status code (this depends on your "accept" configuration)"#)]
|
||||
RejectedStatusCode(StatusCode),
|
||||
|
||||
/// Regex error
|
||||
|
|
|
|||
Loading…
Reference in a new issue