6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 22:17:57 +00:00

Fix failing windows tests

Fix incorrect filepath.join usage in building filepaths from URL
This commit is contained in:
Grzegorz Dlugoszewski
2025-08-11 23:03:09 +02:00
parent 0612421afc
commit 31fa76afb8
8 changed files with 57 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ package git
import (
"errors"
"git-get/pkg/git/test"
"os"
"testing"
"github.com/stretchr/testify/assert"
@@ -57,7 +58,7 @@ func TestExists(t *testing.T) {
want: errDirNotExist,
}, {
name: "dir exists",
path: "/tmp/",
path: os.TempDir(),
want: nil,
},
}