aboutsummaryrefslogtreecommitdiffstats
path: root/common_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-05-04 10:17:15 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-05-04 10:17:15 +0200
commitb8b61e74469e0d2662e7d690eee14893f91fe259 (patch)
tree1933fe53200d98ad2c557d034609408641ce2900 /common_test.go
parent40fa5882a2c73f8c075403b7ec85870f04deda07 (diff)
parente80cdbabb92a1ec35ffad536f52d3ff04b548fd1 (diff)
downloadgo-git-b8b61e74469e0d2662e7d690eee14893f91fe259.tar.gz
Merge branch 'master' of github.com:src-d/go-git into commit
Diffstat (limited to 'common_test.go')
-rw-r--r--common_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/common_test.go b/common_test.go
index bd60385..e1a2a0f 100644
--- a/common_test.go
+++ b/common_test.go
@@ -1,7 +1,6 @@
package git
import (
- "fmt"
"testing"
"gopkg.in/src-d/go-git.v4/plumbing"
@@ -95,8 +94,7 @@ func (s *BaseSuite) GetBasicLocalRepositoryURL() string {
}
func (s *BaseSuite) GetLocalRepositoryURL(f *fixtures.Fixture) string {
- path := f.DotGit().Base()
- return fmt.Sprintf("file://%s", path)
+ return f.DotGit().Base()
}
type SuiteCommon struct{}