diff options
author | willcl-ark <will@256k1.dev> | 2024-07-03 11:14:01 +0100 |
---|---|---|
committer | willcl-ark <will@256k1.dev> | 2024-07-03 11:14:01 +0100 |
commit | dea7afd5e4c2fda7def2e06cfc44dbd617d7cdc2 (patch) | |
tree | 42ef3e367d21bba71a67316e165694e5f63cd0f9 /test/lint | |
parent | 4d942547a8155cca4fe2f68afccdb822a174ab1a (diff) | |
download | bitcoin-dea7afd5e4c2fda7def2e06cfc44dbd617d7cdc2.tar.xz |
lint: remove unneeded trailing line fix
Diffstat (limited to 'test/lint')
-rw-r--r-- | test/lint/test_runner/src/main.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/lint/test_runner/src/main.rs b/test/lint/test_runner/src/main.rs index cb8f3031e2..2ba58a6da2 100644 --- a/test/lint/test_runner/src/main.rs +++ b/test/lint/test_runner/src/main.rs @@ -420,11 +420,6 @@ fn lint_markdown() -> LintResult { Ok(output) if output.status.success() => Ok(()), Ok(output) => { let stderr = String::from_utf8_lossy(&output.stderr); - let filtered_stderr: String = stderr // Filter out this annoying trailing line - .lines() - .filter(|&line| line != "The following links could not be resolved:") - .collect::<Vec<&str>>() - .join("\n"); Err(format!( r#" One or more markdown links are broken. @@ -434,7 +429,7 @@ Relative links are preferred (but not required) as jumping to file works nativel Markdown link errors found: {} "#, - filtered_stderr + stderr )) } Err(e) if e.kind() == ErrorKind::NotFound => { |