diff options
author | Paulo Gomes <pjbgf@linux.com> | 2024-06-28 23:10:23 +0100 |
---|---|---|
committer | Paulo Gomes <pjbgf@linux.com> | 2024-06-29 00:09:34 +0100 |
commit | f61638f24a924c48606977e38920eac07c7251e2 (patch) | |
tree | d2b4a3d38a688921a46392b6b8151190bbb216c7 /storage | |
parent | 1e72372fced2c3b5300f1408e6e71b1a50adc6e3 (diff) | |
download | go-git-f61638f24a924c48606977e38920eac07c7251e2.tar.gz |
*: Small fixes to remove linter warnings
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Diffstat (limited to 'storage')
-rw-r--r-- | storage/filesystem/dotgit/dotgit_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/filesystem/dotgit/dotgit_test.go b/storage/filesystem/dotgit/dotgit_test.go index c224397..8a5d8dd 100644 --- a/storage/filesystem/dotgit/dotgit_test.go +++ b/storage/filesystem/dotgit/dotgit_test.go @@ -611,7 +611,7 @@ func (s *SuiteDotGit) TestObjectsExclusive(c *C) { testObjectsWithPrefix(c, fs, dir) } -func testObjects(c *C, fs billy.Filesystem, dir *DotGit) { +func testObjects(c *C, _ billy.Filesystem, dir *DotGit) { hashes, err := dir.Objects() c.Assert(err, IsNil) c.Assert(hashes, HasLen, 187) @@ -620,7 +620,7 @@ func testObjects(c *C, fs billy.Filesystem, dir *DotGit) { c.Assert(hashes[2].String(), Equals, "03db8e1fbe133a480f2867aac478fd866686d69e") } -func testObjectsWithPrefix(c *C, fs billy.Filesystem, dir *DotGit) { +func testObjectsWithPrefix(c *C, _ billy.Filesystem, dir *DotGit) { prefix, _ := hex.DecodeString("01d5") hashes, err := dir.ObjectsWithPrefix(prefix) c.Assert(err, IsNil) |