Skip to content

Commit

Permalink
Update tests for different newline printing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeikos committed May 6, 2022
1 parent 54ede01 commit 2b9b6af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/graphical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ fn related() -> Result<(), MietteError> {
Error: oops::my::bad
× oops!
╭─[bad_file.rs:1:1]
1 │ source
Expand Down Expand Up @@ -868,6 +869,7 @@ fn related_source_code_propagation() -> Result<(), MietteError> {
Error: oops::my::bad
× oops!
╭─[bad_file.rs:1:1]
1 │ source
Expand Down Expand Up @@ -900,8 +902,7 @@ fn zero_length_eol_span() {
let out = fmt_report(err.into());
println!("Error: {}", out);

let expected = r#"
× oops!
let expected = r#" × oops!
╭─[issue:1:1]
1 │ this is the first line
2 │ this is the second line
Expand Down

0 comments on commit 2b9b6af

Please sign in to comment.