Unify text and inlay highlights
This commit is contained in:
@@ -240,6 +240,7 @@ impl<'a> EditorTestContext<'a> {
|
||||
.map(|ranges| ranges.as_ref().clone().1)
|
||||
.unwrap_or_default()
|
||||
.into_iter()
|
||||
.filter_map(|range| range.as_text_range())
|
||||
.map(|range| range.to_offset(&snapshot.buffer_snapshot))
|
||||
.collect();
|
||||
assert_set_eq!(actual_ranges, expected_ranges);
|
||||
|
||||
Reference in New Issue
Block a user