From 2b9b6af79e3588ece435a188487f0e5fcf802769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Fri, 6 May 2022 09:24:21 +0200 Subject: [PATCH] Update tests for different newline printing --- tests/graphical.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/graphical.rs b/tests/graphical.rs index 594b3f43..35d6ccf6 100644 --- a/tests/graphical.rs +++ b/tests/graphical.rs @@ -806,6 +806,7 @@ fn related() -> Result<(), MietteError> { Error: oops::my::bad + × oops! ╭─[bad_file.rs:1:1] 1 │ source @@ -868,6 +869,7 @@ fn related_source_code_propagation() -> Result<(), MietteError> { Error: oops::my::bad + × oops! ╭─[bad_file.rs:1:1] 1 │ source @@ -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