Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
io -> ioutil
  • Loading branch information
bmoffatt committed Mar 26, 2023
commit fc63e7732508338bc43ff5c88670d063073342f3
3 changes: 1 addition & 2 deletions events/lambda_function_urls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package events
import (
"encoding/json"
"errors"
"io"
"io/ioutil" //nolint: staticcheck
"net/http"
"strings"
Expand Down Expand Up @@ -95,7 +94,7 @@ func TestLambdaFunctionURLStreamingResponseMarshaling(t *testing.T) {
},
} {
t.Run(test.name, func(t *testing.T) {
response, err := io.ReadAll(test.response)
response, err := ioutil.ReadAll(test.response)
require.NoError(t, err)
sep := "\x00\x00\x00\x00\x00\x00\x00\x00"
responseParts := strings.Split(string(response), sep)
Expand Down