Skip to content

Commit 19c461c

Browse files
committed
net/textproto:add test case
1 parent 026923a commit 19c461c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/net/textproto/reader_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ func (r *autoRewind) Read(p []byte) (int, error) {
244244
return n, err
245245
}
246246

247+
// Special io reader that does not hold errors. Issue 53858
247248
func TestReadMimeHeaderRewind(t *testing.T) {
248249
// Improper message, expect EOF as error
249250
r := &autoRewind{

0 commit comments

Comments
 (0)