summaryrefslogtreecommitdiff
path: root/cmd/hexai-mcp-server/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hexai-mcp-server/main_test.go')
-rw-r--r--cmd/hexai-mcp-server/main_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/hexai-mcp-server/main_test.go b/cmd/hexai-mcp-server/main_test.go
index cf48954..76d0fca 100644
--- a/cmd/hexai-mcp-server/main_test.go
+++ b/cmd/hexai-mcp-server/main_test.go
@@ -41,7 +41,10 @@ func TestPrintDeprecationWarning(t *testing.T) {
}
func TestDefaultLogPath(t *testing.T) {
- path := defaultLogPath()
+ path, err := defaultLogPath()
+ if err != nil {
+ t.Fatalf("defaultLogPath returned error: %v", err)
+ }
if path == "" {
t.Fatal("expected non-empty log path")
}