Update tests for different newline printing

This commit is contained in:
Marcel Müller 2022-05-06 09:24:21 +02:00
parent 54ede01862
commit 2b9b6af79e
1 changed files with 3 additions and 2 deletions

View File

@ -806,6 +806,7 @@ fn related() -> Result<(), MietteError> {
Error: oops::my::bad Error: oops::my::bad
× oops! × oops!
[bad_file.rs:1:1] [bad_file.rs:1:1]
1 source 1 source
@ -868,6 +869,7 @@ fn related_source_code_propagation() -> Result<(), MietteError> {
Error: oops::my::bad Error: oops::my::bad
× oops! × oops!
[bad_file.rs:1:1] [bad_file.rs:1:1]
1 source 1 source
@ -900,8 +902,7 @@ fn zero_length_eol_span() {
let out = fmt_report(err.into()); let out = fmt_report(err.into());
println!("Error: {}", out); println!("Error: {}", out);
let expected = r#" let expected = r#" × oops!
× oops!
[issue:1:1] [issue:1:1]
1 this is the first line 1 this is the first line
2 this is the second line 2 this is the second line