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:
l0ng-ai
2026-09-28 18:22:32 +08:00
parent e95f7682fd
commit 69888a52ef
+2
View File
@@ -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);