Skip to content

Commit

Permalink
net/http: correctly show error types in transfer test
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed May 12, 2022
1 parent c307b32 commit fd74482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transfer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func TestTransferWriterWriteBodyReaderTypes(t *testing.T) {
}

if tc.expectedReader != actualReader {
t.Fatalf("got reader %T want %T", actualReader, tc.expectedReader)
t.Fatalf("got reader %s want %s", actualReader, tc.expectedReader)
}
}

Expand Down

0 comments on commit fd74482

Please sign in to comment.