Lines Matching refs:tt
44 for _, tt := range canonicalHeaderKeyTests {
45 if s := CanonicalMIMEHeaderKey(tt.in); s != tt.out {
46 t.Errorf("CanonicalMIMEHeaderKey(%q) = %q, want %q", tt.in, s, tt.out)
277 for i, tt := range readResponseTests {
278 r := reader(tt.in + "\nFOLLOWING DATA")
279 code, msg, err := r.ReadResponse(tt.inCode)
284 if code != tt.wantCode {
285 t.Errorf("#%d: code=%d, want %d", i, code, tt.wantCode)
287 if msg != tt.wantMsg {
288 t.Errorf("#%d: msg=%q, want %q", i, msg, tt.wantMsg)