summaryrefslogtreecommitdiff
path: root/internal/lsp/llm_stats_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/llm_stats_test.go')
-rw-r--r--internal/lsp/llm_stats_test.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/lsp/llm_stats_test.go b/internal/lsp/llm_stats_test.go
new file mode 100644
index 0000000..9e27823
--- /dev/null
+++ b/internal/lsp/llm_stats_test.go
@@ -0,0 +1,11 @@
+package lsp
+
+import "testing"
+
+func TestLogLLMStats_CoversCounters(t *testing.T) {
+ s := newTestServer()
+ s.incSentCounters(10)
+ s.incRecvCounters(20)
+ s.logLLMStats() // just ensure it does not panic and executes
+}
+