aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/sideband/demux_test.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-05-15 20:22:28 +0100
committerGitHub <noreply@github.com>2023-05-15 20:22:28 +0100
commit4ff2213cc5422d3300cf9828ea0781820888d32d (patch)
tree9226bdd5f898f0813126e6df5f99ddf2bfec08c5 /plumbing/protocol/packp/sideband/demux_test.go
parentdc2b346ed149080199d578f0190f3ac1156480c2 (diff)
parentbddd89e697ebdaad2fe341b3e8a3233691f5544a (diff)
downloadgo-git-4ff2213cc5422d3300cf9828ea0781820888d32d.tar.gz
Merge pull request #770 from pjbgf/small-fixes
*: Small fixes across the codebase
Diffstat (limited to 'plumbing/protocol/packp/sideband/demux_test.go')
-rw-r--r--plumbing/protocol/packp/sideband/demux_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/sideband/demux_test.go b/plumbing/protocol/packp/sideband/demux_test.go
index 6cda703..8f23353 100644
--- a/plumbing/protocol/packp/sideband/demux_test.go
+++ b/plumbing/protocol/packp/sideband/demux_test.go
@@ -4,7 +4,6 @@ import (
"bytes"
"errors"
"io"
- "io/ioutil"
"testing"
"github.com/go-git/go-git/v5/plumbing/format/pktline"
@@ -101,7 +100,7 @@ func (s *SidebandSuite) TestDecodeWithProgress(c *C) {
c.Assert(n, Equals, 26)
c.Assert(content, DeepEquals, expected)
- progress, err := ioutil.ReadAll(output)
+ progress, err := io.ReadAll(output)
c.Assert(err, IsNil)
c.Assert(progress, DeepEquals, []byte{'F', 'O', 'O', '\n'})
}