From 28945db47e13b3de8345ee1cc0c8dece1d9a4e0e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 4 Sep 2025 08:32:20 +0300 Subject: tests(lsp,llm): add helper and factory tests to raise coverage modestly; continue toward 80% target --- internal/llm/util_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 internal/llm/util_test.go (limited to 'internal/llm/util_test.go') 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") } +} + -- cgit v1.2.3