fix(highlight): account for multiple rows in highlight testing assertions
This commit is contained in:
parent
521da2b0a7
commit
71941d8bda
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ pub fn iterate_assertions(
|
|||
let mut j = i;
|
||||
while let (false, Some(highlight)) = (passed, highlights.get(j)) {
|
||||
end_column = position.column + length - 1;
|
||||
if highlight.0.column > end_column {
|
||||
if highlight.0.row >= position.row && highlight.0.column > end_column {
|
||||
break 'highlight_loop;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue