From 69888a52ef93cb0bc42c3b1d9b5f63e685ec388e Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Mon, 28 Sep 2026 18:22:32 +0800 Subject: [PATCH] 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. --- src/ui/code_editor/nav.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/code_editor/nav.rs b/src/ui/code_editor/nav.rs index e0eafba8..246fb4d8 100644 --- a/src/ui/code_editor/nav.rs +++ b/src/ui/code_editor/nav.rs @@ -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);