diff options
author | Paulo Gomes <pjbgf@linux.com> | 2023-05-15 20:22:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 20:22:28 +0100 |
commit | 4ff2213cc5422d3300cf9828ea0781820888d32d (patch) | |
tree | 9226bdd5f898f0813126e6df5f99ddf2bfec08c5 /plumbing/format/idxfile/encoder_test.go | |
parent | dc2b346ed149080199d578f0190f3ac1156480c2 (diff) | |
parent | bddd89e697ebdaad2fe341b3e8a3233691f5544a (diff) | |
download | go-git-4ff2213cc5422d3300cf9828ea0781820888d32d.tar.gz |
Merge pull request #770 from pjbgf/small-fixes
*: Small fixes across the codebase
Diffstat (limited to 'plumbing/format/idxfile/encoder_test.go')
-rw-r--r-- | plumbing/format/idxfile/encoder_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go index 32b60f9..b8ece83 100644 --- a/plumbing/format/idxfile/encoder_test.go +++ b/plumbing/format/idxfile/encoder_test.go @@ -2,7 +2,7 @@ package idxfile_test import ( "bytes" - "io/ioutil" + "io" . "github.com/go-git/go-git/v5/plumbing/format/idxfile" @@ -12,7 +12,7 @@ import ( func (s *IdxfileSuite) TestDecodeEncode(c *C) { fixtures.ByTag("packfile").Test(c, func(f *fixtures.Fixture) { - expected, err := ioutil.ReadAll(f.Idx()) + expected, err := io.ReadAll(f.Idx()) c.Assert(err, IsNil) idx := new(MemoryIndex) |