Skip to content

Commit

Permalink
Add test for overlapping multiline labels
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanzab committed Mar 24, 2020
1 parent 32e2896 commit ca075aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codespan-reporting/tests/term.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ mod multiline_overlapping {
" max: self.last_line_index(),",
" },",
" }",
].join("\n")
].join("\n"),
);

let diagnostics = vec![
Expand All @@ -398,7 +398,7 @@ mod multiline_overlapping {
"
expected type `Result<ByteIndex, LineIndexOutOfBoundsError>`
found type `LineIndexOutOfBoundsError`
"
",
)]),
];

Expand Down

0 comments on commit ca075aa

Please sign in to comment.