From 211f02250188df02fe85ea77e570c3cf7d4b1f8e Mon Sep 17 00:00:00 2001 From: Brooks J Rady Date: Tue, 26 Mar 2024 18:53:55 -0700 Subject: [PATCH] tests(graphical): update missed tests --- tests/graphical.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/graphical.rs b/tests/graphical.rs index f16f8ae..c6b5e1a 100644 --- a/tests/graphical.rs +++ b/tests/graphical.rs @@ -1959,7 +1959,8 @@ fn syntax_highlighter() { GraphicalReportHandler::new_themed(GraphicalTheme::unicode()) .render_report(&mut out, &err) .unwrap(); - let expected = r#" × This is an error + let expected = r#" + × This is an error ╭─[hello_world:2:5] 1 │ fn main() { 2 │ println!("Hello, World!"); @@ -2013,7 +2014,8 @@ fn syntax_highlighter_on_real_file() { .unwrap(); let expected = format!( - r#" × This is an error + r#" + × This is an error ╭─[{filename}:{l2}:{CO}] {l1} │ {l2} │ let (filename, line) = (file!(), line!() as usize);