From a2be7dbdd8bf7a23db37e584a28a3fc19f72d689 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 7 Jul 2025 11:48:33 +0200 Subject: [PATCH] chore: try fix windows tests --- internal/config/load_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/load_test.go b/internal/config/load_test.go index ba1a5a7f1c52d5cd123750f93032e56939ce2cd5..8f7b8634a251aa6510a263258c2e8c45fc08a3b2 100644 --- a/internal/config/load_test.go +++ b/internal/config/load_test.go @@ -4,6 +4,7 @@ import ( "io" "log/slog" "os" + "path/filepath" "strings" "testing" @@ -45,7 +46,7 @@ func TestConfig_setDefaults(t *testing.T) { assert.NotNil(t, cfg.Models) assert.NotNil(t, cfg.LSP) assert.NotNil(t, cfg.MCP) - assert.Equal(t, "/tmp/.crush", cfg.Options.DataDirectory) + assert.Equal(t, filepath.Join("/tmp", ".crush"), cfg.Options.DataDirectory) for _, path := range defaultContextPaths { assert.Contains(t, cfg.Options.ContextPaths, path) }