Skip to content

Commit

Permalink
chore: log error
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Jul 8, 2023
1 parent 9a60734 commit 4c70abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ca/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func TestClient_GetServerTLSConfig_http(t *testing.T) {
defer resp.Body.Close()
b, err := io.ReadAll(resp.Body)
if err != nil {
t.Fatalf("ioutil.RealAdd() error = %v", err)
t.Fatalf("io.ReadAll() error = %v", err)
}
if !bytes.Equal(b, []byte("ok")) {
t.Errorf("response body unexpected, got %s, want ok", b)
Expand Down Expand Up @@ -343,7 +343,7 @@ func TestClient_GetServerTLSConfig_renew(t *testing.T) {
defer resp.Body.Close()
b, err := io.ReadAll(resp.Body)
if err != nil {
t.Errorf("ioutil.RealAdd() error = %v", err)
t.Errorf("io.ReadAll() error = %v", err)
return
}
if !bytes.Equal(b, []byte("ok")) {
Expand Down

0 comments on commit 4c70abc

Please sign in to comment.