summaryrefslogtreecommitdiff
path: root/internal/lsp/testfakes_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/testfakes_test.go')
-rw-r--r--internal/lsp/testfakes_test.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/internal/lsp/testfakes_test.go b/internal/lsp/testfakes_test.go
index bfe536e..7887692 100644
--- a/internal/lsp/testfakes_test.go
+++ b/internal/lsp/testfakes_test.go
@@ -1,8 +1,8 @@
package lsp
import (
- "context"
- "hexai/internal/llm"
+ "context"
+ "hexai/internal/llm"
)
// countingLLM counts Chat calls; minimal implementation for tests that need
@@ -10,9 +10,8 @@ import (
type countingLLM struct{ calls int }
func (f *countingLLM) Chat(_ context.Context, _ []llm.Message, _ ...llm.RequestOption) (string, error) {
- f.calls++
- return "x := 1", nil
+ f.calls++
+ return "x := 1", nil
}
func (f *countingLLM) Name() string { return "fake" }
func (f *countingLLM) DefaultModel() string { return "m" }
-