Update orb version (#170)

This commit is contained in:
Ben Schumacher 2022-10-07 20:24:44 +02:00 committed by GitHub
parent 2629a23a05
commit 2879447b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 14 deletions

View file

@ -1,7 +1,7 @@
package main
import (
"io/ioutil"
"io"
"net/http"
"net/http/httptest"
"testing"
@ -20,7 +20,7 @@ func TestServeHTTP(t *testing.T) {
result := w.Result()
assert.NotNil(result)
defer result.Body.Close()
bodyBytes, err := ioutil.ReadAll(result.Body)
bodyBytes, err := io.ReadAll(result.Body)
assert.Nil(err)
bodyString := string(bodyBytes)