mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +00:00
Fix mistakenly moved line in beginning/end of line editor tests
This commit is contained in:
parent
0004dc6921
commit
623d574b51
1 changed files with 1 additions and 1 deletions
|
@ -3104,6 +3104,7 @@ mod tests {
|
|||
});
|
||||
|
||||
view.update(cx, |view, cx| {
|
||||
view.delete_to_beginning_of_line(&(), cx);
|
||||
assert_eq!(view.text(cx), "\n");
|
||||
assert_eq!(
|
||||
view.selection_ranges(cx),
|
||||
|
@ -3112,7 +3113,6 @@ mod tests {
|
|||
DisplayPoint::new(1, 0)..DisplayPoint::new(1, 0),
|
||||
]
|
||||
);
|
||||
view.delete_to_beginning_of_line(&(), cx)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue