The apply_all_code_actions function in the test file crates/lsp/tests/basic.rs has two issues:
- It drops the final trailing newline when reconstructing text
- It doesn't properly handle cross-line edits (ignores end_line parameter)
This can cause test failures and incorrect text transformations when applying LSP code actions.
Related: