diff --git a/tests/graphical.rs b/tests/graphical.rs index 7e5de78..b5fa4d8 100644 --- a/tests/graphical.rs +++ b/tests/graphical.rs @@ -1864,11 +1864,11 @@ fn syntax_highlighter_on_real_file() { let expected = format!( r#" × This is an error ╭─[{filename}:{l2}:{CO}] - {l1} │ + {l1} │ {l2} │ let (filename, line) = (file!(), line!() as usize); · ─────────────┬───────────── · ╰── this is a label - {l3} │ + {l3} │ ╰──── "#, l1 = line - 1, @@ -1911,13 +1911,13 @@ fn triple_adjacent_highlight() -> Result<(), MietteError> { 1 │ source · ───┬── · ╰── this bit here - 2 │ - 3 │ + 2 │ + 3 │ 4 │ text · ──┬─ · ╰── also this bit - 5 │ - 6 │ + 5 │ + 6 │ 7 │ here · ──┬─ · ╰── finally we got @@ -1957,10 +1957,10 @@ fn non_adjacent_highlight() -> Result<(), MietteError> { 1 │ source · ───┬── · ╰── this bit here - 2 │ + 2 │ ╰──── ╭─[bad_file.rs:5:3] - 4 │ + 4 │ 5 │ text here · ──┬─ · ╰── also this bit