@@ -10,13 +10,13 @@ import (
1010 "testing"
1111 "time"
1212
13+ "github.com/src-d/gitbase"
1314 "github.com/src-d/gitbase/cmd/gitbase/command"
15+ "github.com/src-d/gitbase/internal/function"
1416 "github.com/src-d/gitbase/internal/rule"
17+
1518 "github.com/src-d/go-borges/plain"
1619 "github.com/src-d/go-borges/siva"
17-
18- "github.com/src-d/gitbase"
19- "github.com/src-d/gitbase/internal/function"
2020 fixtures "github.com/src-d/go-git-fixtures"
2121 sqle "github.com/src-d/go-mysql-server"
2222 "github.com/src-d/go-mysql-server/auth"
@@ -46,7 +46,7 @@ func TestIntegration(t *testing.T) {
4646 err = os .Rename (path , pathRepo )
4747 require .NoError (t , err )
4848
49- lib := plain .NewLibrary ("plain" )
49+ lib := plain .NewLibrary ("plain" , nil )
5050 loc , err := plain .NewLocation ("location" , osfs .New (pathLib ), nil )
5151 require .NoError (t , err )
5252 lib .AddLocation (loc )
@@ -748,7 +748,7 @@ func TestMissingHeadRefs(t *testing.T) {
748748
749749 path := filepath .Join (cwd , "_testdata" )
750750
751- lib , err := siva .NewLibrary ("siva " , osfs .New (path ), & siva.LibraryOptions {
751+ lib , err := siva .NewLibrary ("" , osfs .New (path ), & siva.LibraryOptions {
752752 RootedRepo : true ,
753753 })
754754 require .NoError (err )
@@ -1122,7 +1122,7 @@ func setup(t testing.TB) (*sqle.Engine, *gitbase.RepositoryPool, func()) {
11221122 err = os .Rename (path , pathRepo )
11231123 require .NoError (t , err )
11241124
1125- lib := plain .NewLibrary ("plain" )
1125+ lib := plain .NewLibrary ("plain" , nil )
11261126 loc , err := plain .NewLocation ("location" , osfs .New (pathLib ), nil )
11271127 require .NoError (t , err )
11281128 lib .AddLocation (loc )
0 commit comments