Get tests passing after diagnostic + selection changes
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
418a9a3d66
commit
52b8e3d1a2
3 changed files with 39 additions and 4 deletions
|
@ -5948,6 +5948,11 @@ mod tests {
|
|||
.update(cx, |display_map, cx| display_map.snapshot(cx));
|
||||
self.selections
|
||||
.iter()
|
||||
.chain(
|
||||
self.pending_selection
|
||||
.as_ref()
|
||||
.map(|pending| &pending.selection),
|
||||
)
|
||||
.map(|s| {
|
||||
if s.reversed {
|
||||
s.end.to_display_point(&display_map)..s.start.to_display_point(&display_map)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue