Skip to content

Commit 7963bed

Browse files
committed
strip whitespace for ignored tests reason comments
1 parent 62c8c69 commit 7963bed

File tree

1 file changed

+1
-1
lines changed
  • src/tools/compiletest/src/header

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/header/needs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub(super) fn handle_needs(
174174
} else {
175175
return IgnoreDecision::Ignore {
176176
reason: if let Some(comment) = comment {
177-
format!("{} ({comment})", need.ignore_reason)
177+
format!("{} ({})", need.ignore_reason, comment.trim())
178178
} else {
179179
need.ignore_reason.into()
180180
},

0 commit comments

Comments
 (0)