diff --git a/cli/src/test_highlight.rs b/cli/src/test_highlight.rs index 1bd8f358..d2f37e2f 100644 --- a/cli/src/test_highlight.rs +++ b/cli/src/test_highlight.rs @@ -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; }