Skip to content

Commit

Permalink
multiline failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Oct 3, 2024
1 parent c7cc5f0 commit ee3dff9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build/build/src/enso.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,13 @@ impl BuiltEnso {
if errors.is_empty() {
Ok(())
} else {
let summary =
errors.as_slice().iter().map(|e| e.to_string()).collect::<Vec<_>>().join(", ");
let summary = errors
.as_slice()
.iter()
.map(|e| e.to_string())
.collect::<Vec<_>>()
.join(";\n")
.replace("\n", "%0A");
println!(
"::error title=Failed Standard Library Tests::{} test suite(s) failed: {}",
errors.len(),
Expand Down

0 comments on commit ee3dff9

Please sign in to comment.