aboutsummaryrefslogtreecommitdiffstats
path: root/submodule_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'submodule_test.go')
-rw-r--r--submodule_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/submodule_test.go b/submodule_test.go
index 6e06191..fdbe4a8 100644
--- a/submodule_test.go
+++ b/submodule_test.go
@@ -1,15 +1,14 @@
package git
import (
- "fmt"
"io/ioutil"
"os"
"path/filepath"
"github.com/src-d/go-git-fixtures"
+ "gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v4/plumbing"
)
type SubmoduleSuite struct {
@@ -27,7 +26,7 @@ func (s *SubmoduleSuite) SetUpTest(c *C) {
c.Assert(err, IsNil)
r, err := PlainClone(filepath.Join(dir, "worktree"), false, &CloneOptions{
- URL: fmt.Sprintf("file://%s", path),
+ URL: path,
})
c.Assert(err, IsNil)