summaryrefslogtreecommitdiff
path: root/internal/lsp/document_handlers_test.go
AgeCommit message (Collapse)Author
2026-03-16Document lock ordering, fix test data races, correct stateMu guardPaul Buetow
- Add doc comments clarifying Server.mu and completionState.stateMu are independent (no ordering constraint). - Fix test using wrong lock (s.mu instead of stateMu) for lastLLMCall. - Replace time.Sleep polling in 7 tests with s.inflight.Wait() to eliminate data races under -race. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2025-09-19fixPaul Buetow
2025-09-06use gofumptPaul Buetow
2025-09-04tests(lsp): push coverage over 80%\n- Add init/trigger, chat history, ↵Paul Buetow
document handler, transport readMessage, and rewrite resolve tests\n- Cover deferShowDocument and shutdown reply\n- Now ~81.2% coverage for internal/lsp