diff options
Diffstat (limited to 'internal/route/lfs/batch_test.go')
-rw-r--r-- | internal/route/lfs/batch_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/lfs/batch_test.go b/internal/route/lfs/batch_test.go index 226e637b..e3feb7ed 100644 --- a/internal/route/lfs/batch_test.go +++ b/internal/route/lfs/batch_test.go @@ -7,7 +7,7 @@ package lfs import ( "bytes" "encoding/json" - "io/ioutil" + "io" "net/http" "net/http/httptest" "testing" @@ -138,7 +138,7 @@ func Test_serveBatch(t *testing.T) { resp := rr.Result() assert.Equal(t, test.expStatusCode, resp.StatusCode) - body, err := ioutil.ReadAll(resp.Body) + body, err := io.ReadAll(resp.Body) if err != nil { t.Fatal(err) } |