Skip to content

Commit

Permalink
replace deprecated ioutil package with io package
Browse files Browse the repository at this point in the history
  • Loading branch information
bearmini committed Nov 2, 2022
1 parent 46a1d65 commit d17c574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package soracom

import (
"bytes"
"io/ioutil"
"io"
"net/http"
"testing"
)
Expand Down Expand Up @@ -95,7 +95,7 @@ func TestMarshals(t *testing.T) {

b := bytes.NewBufferString(testdata)
response := &http.Response{
Body: ioutil.NopCloser(b),
Body: io.NopCloser(b),
}
rs, pek, err := parseListSessionEvents(response)
if err != nil {
Expand Down

0 comments on commit d17c574

Please sign in to comment.