From 5ed470a093ffb7d28c88f9687429f238959935da Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Sep 2025 11:49:38 +0300 Subject: test: add seams for RunTUI and client; expand hexaiaction tests; cover lsp initialized and testutil fixtures --- internal/lsp/handlers_init_more_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 internal/lsp/handlers_init_more_test.go (limited to 'internal/lsp') diff --git a/internal/lsp/handlers_init_more_test.go b/internal/lsp/handlers_init_more_test.go new file mode 100644 index 0000000..230c773 --- /dev/null +++ b/internal/lsp/handlers_init_more_test.go @@ -0,0 +1,15 @@ +package lsp + +import ( + "bytes" + "log" + "testing" +) + +func TestHandleInitialized_Logs(t *testing.T) { + // Minimal server with a logger; just ensure it doesn't panic. + var buf bytes.Buffer + s := NewServer(bytes.NewBuffer(nil), &buf, log.New(&buf, "", 0), ServerOptions{}) + s.handleInitialized() +} + -- cgit v1.2.3