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:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user