Fix unit test for on-disk-changes to not rely on selection bias
This commit is contained in:
@@ -638,7 +638,10 @@ impl Buffer {
|
||||
if selection.start.column == 0 {
|
||||
let delta = Point::new(
|
||||
0,
|
||||
indent_columns.get(&selection.start.row).copied().unwrap_or(0),
|
||||
indent_columns
|
||||
.get(&selection.start.row)
|
||||
.copied()
|
||||
.unwrap_or(0),
|
||||
);
|
||||
if delta.column > 0 {
|
||||
return Selection {
|
||||
|
||||
Reference in New Issue
Block a user