mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +00:00
Fix tests
This commit is contained in:
parent
7c418313a7
commit
7f265230ea
1 changed files with 2 additions and 2 deletions
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue