diff options
Diffstat (limited to 'internal/lsp/document_test.go')
| -rw-r--r-- | internal/lsp/document_test.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/internal/lsp/document_test.go b/internal/lsp/document_test.go index 95f0157..1a3f909 100644 --- a/internal/lsp/document_test.go +++ b/internal/lsp/document_test.go @@ -36,11 +36,13 @@ func newTestServer() *Server { PromptCodeActionGoTestUser: "Function under test:\n{{function}}", } return &Server{ - logger: log.New(io.Discard, "", 0), - docs: make(map[string]*document), - cfg: cfg, - altClients: make(map[string]llm.Client), - llmProvider: canonicalProvider(cfg.Provider), + logger: log.New(io.Discard, "", 0), + docs: make(map[string]*document), + cfg: cfg, + codeActionSubsystem: codeActionSubsystem{ + altClients: make(map[string]llm.Client), + llmProvider: canonicalProvider(cfg.Provider), + }, } } |
