Skip to content

Commit

Permalink
strip whitespace for ignored tests reason comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Aug 11, 2024
1 parent ad8750a commit bfecb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/header/needs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub(super) fn handle_needs(
} else {
return IgnoreDecision::Ignore {
reason: if let Some(comment) = comment {
format!("{} ({comment})", need.ignore_reason)
format!("{} ({})", need.ignore_reason, comment.trim())
} else {
need.ignore_reason.into()
},
Expand Down

0 comments on commit bfecb35

Please sign in to comment.