Skip to content

Commit bfecb35

Browse files
committed
strip whitespace for ignored tests reason comments
1 parent ad8750a commit bfecb35

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

Diff for: src/tools/compiletest/src/header/needs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pub(super) fn handle_needs(
179179
} else {
180180
return IgnoreDecision::Ignore {
181181
reason: if let Some(comment) = comment {
182-
format!("{} ({comment})", need.ignore_reason)
182+
format!("{} ({})", need.ignore_reason, comment.trim())
183183
} else {
184184
need.ignore_reason.into()
185185
},

0 commit comments

Comments
 (0)