diff --git a/zed/src/editor.rs b/zed/src/editor.rs index 8b15d71563..4919da9103 100644 --- a/zed/src/editor.rs +++ b/zed/src/editor.rs @@ -4044,7 +4044,7 @@ mod tests { }); assert_eq!( view.read_with(&cx, |view, cx| view.selection_ranges(cx)), - &[DisplayPoint::new(0, 0)..DisplayPoint::new(5, 0)] + &[DisplayPoint::new(5, 0)..DisplayPoint::new(0, 0)] ); // Trying to expand the selected syntax node one more time has no effect. @@ -4053,7 +4053,7 @@ mod tests { }); assert_eq!( view.read_with(&cx, |view, cx| view.selection_ranges(cx)), - &[DisplayPoint::new(0, 0)..DisplayPoint::new(5, 0)] + &[DisplayPoint::new(5, 0)..DisplayPoint::new(0, 0)] ); view.update(&mut cx, |view, cx| {