mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-11-06 00:15:06 +00:00
test(nav): spell out LineEdit's new at_line_start field
gpui-component's LineEdit now records an insertion at column 0, which moves the whole line down. The literal edits in this test are mid-line.
This commit is contained in:
@@ -1070,11 +1070,13 @@ mod tests {
|
||||
start_line: 10,
|
||||
end_line: 10,
|
||||
new_lines: 3,
|
||||
at_line_start: false,
|
||||
},
|
||||
LineEdit {
|
||||
start_line: 20,
|
||||
end_line: 30,
|
||||
new_lines: 0,
|
||||
at_line_start: false,
|
||||
},
|
||||
];
|
||||
nav.shift(&at("a.rs", 0), &edits);
|
||||
|
||||
Reference in New Issue
Block a user