summaryrefslogtreecommitdiff
path: root/internal/llm/util_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-04 08:32:20 +0300
committerPaul Buetow <paul@buetow.org>2025-09-04 08:32:20 +0300
commit28945db47e13b3de8345ee1cc0c8dece1d9a4e0e (patch)
treee318283e7593df8bf29bf9f2ae7d2c0fc4f7ec22 /internal/llm/util_test.go
parentbef02f9f9908c65fea5472f04e534a5fba577502 (diff)
tests(lsp,llm): add helper and factory tests to raise coverage modestly; continue toward 80% target
Diffstat (limited to 'internal/llm/util_test.go')
-rw-r--r--internal/llm/util_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/llm/util_test.go b/internal/llm/util_test.go
new file mode 100644
index 0000000..acffe5a
--- /dev/null
+++ b/internal/llm/util_test.go
@@ -0,0 +1,9 @@
+package llm
+
+import "testing"
+
+func TestNilStringErr(t *testing.T) {
+ s, err := nilStringErr("boom")
+ if s != "" || err == nil { t.Fatalf("expected empty string and error") }
+}
+