From 08e9117a9df91b0037794265c5fe0b338aa8a0f7 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 06:45:27 +0000 Subject: [PATCH] Fill EditorServices' other fields with defaults in the LSP test The host is adding an undo service to EditorServices (Pulsar-Native#931). Naming only the field the test cares about keeps it compiling against both. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5 --- src/script_editor/text_editor/lsp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script_editor/text_editor/lsp.rs b/src/script_editor/text_editor/lsp.rs index d1ea141..f049905 100644 --- a/src/script_editor/text_editor/lsp.rs +++ b/src/script_editor/text_editor/lsp.rs @@ -802,6 +802,7 @@ mod tests { let analyzer = vcx.update(|window, app| app.new(|cx| RustAnalyzerManager::new(window, cx))); let settings = EditorSettingsSnapshot::default().with_services(EditorServices { language_server: Some(analyzer), + ..Default::default() }); let (attached, status) = status_of(settings, cx); assert!(attached, "the handle in the context was ignored");