summaryrefslogtreecommitdiff
path: root/internal/test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-16 15:35:02 +0300
committerPaul Buetow <paul@buetow.org>2025-08-16 15:35:02 +0300
commit6c8eb6876fe87553770de114ebd34649a0c6ec10 (patch)
tree064517edaf9d59522bec7191a61362a853c195bd /internal/test.go
parent1e1df8c204f6771719f85d8402128d72138bb863 (diff)
lsp: split monolithic server.go into modules; add configurable max tokens and context strategies (minimal|window|file-on-new-func|always-full); provide flags/env fallbacks; add unit tests for helpers and context; update README; remove obsolete files
Diffstat (limited to 'internal/test.go')
-rw-r--r--internal/test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/internal/test.go b/internal/test.go
deleted file mode 100644
index 586a1bc..0000000
--- a/internal/test.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package internal
-
-import "os"
-
-func fib(i int) int {
- if i <= 1 {
- return i
- }
- return fib(i-1) + fib(i-2)
-}
-
-func countFilesInDir(dirPath string) int {
- files, err := os.ReadDir(dirPath)
- if err != nil {
- return 0
- }
- return len(files)
-}