diff options
author | vince <vincetiu8@gmail.com> | 2020-09-08 20:45:03 +0800 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-09-29 20:42:21 +0200 |
commit | 27e70af23692a70fcb129370235e46eaf33b8cfd (patch) | |
tree | c35dabdcb3380520a7d502850f1be3b5a17c46bd /repository/gogit_test.go | |
parent | d4f1d5659b9d23ff0768ed584ae320cb657c6f2d (diff) | |
download | git-bug-27e70af23692a70fcb129370235e46eaf33b8cfd.tar.gz |
fix ListCommits implementation
Diffstat (limited to 'repository/gogit_test.go')
-rw-r--r-- | repository/gogit_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/gogit_test.go b/repository/gogit_test.go index 9dcf109f..fba990d3 100644 --- a/repository/gogit_test.go +++ b/repository/gogit_test.go @@ -58,7 +58,7 @@ func TestNewGoGitRepo(t *testing.T) { require.Error(t, err, i) } else { require.NoError(t, err, i) - assert.Equal(t, tc.outPath, r.GetPath(), i) + assert.Equal(t, filepath.ToSlash(tc.outPath), filepath.ToSlash(r.GetPath()), i) } } } |