go/src/net/textproto/reader_test.go

func reader(s string) *Reader {}

func TestReadLine(t *testing.T) {}

func TestReadLineLongLine(t *testing.T) {}

func TestReadContinuedLine(t *testing.T) {}

func TestReadCodeLine(t *testing.T) {}

func TestReadDotLines(t *testing.T) {}

func TestReadDotBytes(t *testing.T) {}

func TestReadMIMEHeader(t *testing.T) {}

func TestReadMIMEHeaderSingle(t *testing.T) {}

// TestReaderUpcomingHeaderKeys is testing an internal function, but it's very
// difficult to test well via the external API.
func TestReaderUpcomingHeaderKeys(t *testing.T) {}

func TestReadMIMEHeaderNoKey(t *testing.T) {}

func TestLargeReadMIMEHeader(t *testing.T) {}

// TestReadMIMEHeaderNonCompliant checks that we don't normalize headers
// with spaces before colons, and accept spaces in keys.
func TestReadMIMEHeaderNonCompliant(t *testing.T) {}

func TestReadMIMEHeaderMalformed(t *testing.T) {}

func TestReadMIMEHeaderBytes(t *testing.T) {}

// Test that continued lines are properly trimmed. Issue 11204.
func TestReadMIMEHeaderTrimContinued(t *testing.T) {}

// Test that reading a header doesn't overallocate. Issue 58975.
func TestReadMIMEHeaderAllocations(t *testing.T) {}

type readResponseTest

var readResponseTests

// See https://www.ietf.org/rfc/rfc959.txt page 36.
func TestRFC959Lines(t *testing.T) {}

// Test that multi-line errors are appropriately and fully read. Issue 10230.
func TestReadMultiLineError(t *testing.T) {}

func TestCommonHeaders(t *testing.T) {}

func TestIssue46363(t *testing.T) {}

var clientHeaders

var serverHeaders

func BenchmarkReadMIMEHeader(b *testing.B) {}

func BenchmarkUncommon(b *testing.B) {}