diff options
author | Michael Muré <batolettre@gmail.com> | 2020-12-05 03:08:54 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-12-08 13:07:51 +0100 |
commit | 4ef2c1104079032336da9f2a7879f2432c2609ce (patch) | |
tree | c233921001ae0f43d5d1c62ad50148d2c5bb2e35 /repository/gogit_test.go | |
parent | bca9ae82745ffd619fd321f4200016c184849f94 (diff) | |
download | git-bug-4ef2c1104079032336da9f2a7879f2432c2609ce.tar.gz git-bug-4ef2c1104079032336da9f2a7879f2432c2609ce.zip |
repo: finish RepoStorage move
Diffstat (limited to 'repository/gogit_test.go')
-rw-r--r-- | repository/gogit_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/gogit_test.go b/repository/gogit_test.go index a1f67664c..a2bb49b9c 100644 --- a/repository/gogit_test.go +++ b/repository/gogit_test.go @@ -19,7 +19,7 @@ func TestNewGoGitRepo(t *testing.T) { _, err = InitGoGitRepo(plainRoot) require.NoError(t, err) - plainGitDir := path.Join(plainRoot, ".git") + plainGitDir := filepath.Join(plainRoot, ".git") // Bare bareRoot, err := ioutil.TempDir("", "") @@ -52,7 +52,7 @@ func TestNewGoGitRepo(t *testing.T) { } for i, tc := range tests { - r, err := NewGoGitRepo(tc.inPath, nil) + r, err := OpenGoGitRepo(tc.inPath, nil) if tc.err { require.Error(t, err, i) |