Home | History | Annotate | Download | only in http

Lines Matching full:errorf

29 		t.Errorf(`req.FormValue("q") = %q, want "foo"`, q)
39 t.Errorf(`req.FormValue("q") = %q, want "foo"`, q)
42 t.Errorf(`req.FormValue("z") = %q, want "post"`, z)
45 t.Errorf(`req.PostForm["q"] = %q, want no entry in map`, bq)
48 t.Errorf(`req.PostFormValue("z") = %q, want "post"`, bz)
51 t.Errorf(`req.Form["q"] = %q, want ["foo", "bar"]`, qs)
54 t.Errorf(`req.Form["both"] = %q, want ["y", "x"]`, both)
57 t.Errorf(`req.FormValue("prio") = %q, want "2" (from body)`, prio)
60 t.Errorf(`req.FormValue("empty") = %q, want "" (from body)`, empty)
70 t.Errorf(`req.FormValue("q") = %q, want "foo"`, q)
73 t.Errorf(`req.FormValue("z") = %q, want "post"`, z)
76 t.Errorf(`req.PostForm["q"] = %q, want no entry in map`, bq)
79 t.Errorf(`req.PostFormValue("z") = %q, want "post"`, bz)
82 t.Errorf(`req.Form["q"] = %q, want ["foo", "bar"]`, qs)
85 t.Errorf(`req.Form["both"] = %q, want ["y", "x"]`, both)
88 t.Errorf(`req.FormValue("prio") = %q, want "2" (from body)`, prio)
91 t.Errorf(`req.FormValue("empty") = %q, want "" (from body)`, empty)
120 t.Errorf("test %d should have returned error", i)
122 t.Errorf("test %d should not have returned error, got %v", i, err)
136 t.Errorf("%d. Form not initialized, error %v", i, err)
139 t.Errorf("%d. PostForm not initialized, error %v", i, err)
152 t.Errorf("expected multipart; error: %v", err)
211 t.Errorf("got header %q, want %q", g, e)
325 t.Errorf("%d. got error = %v; want %v", i, err, tt.err)
349 t.Errorf("#%v: %v", i, err)
353 t.Errorf("got %q; want %q", req.Host, tt.out)
382 t.Errorf("ContentLength(%T) = %d; want %d", tt.r, req.ContentLength, tt.want)
414 t.Errorf("failed to parse %q, expected: %#v, got %#v", tt.vers, version{tt.major, tt.minor, tt.ok}, version{major, minor, ok})
443 t.Errorf("BasicAuth() = %#v, want %#v", getBasicAuthTest{username, password, ok},
451 t.Errorf("expected false from BasicAuth when the request is unauthenticated")
455 t.Errorf("expected credentials: %#v when the request is unauthenticated, got %#v",
480 t.Errorf("BasicAuth() = %#v, want %#v", getBasicAuthTest{username, password, ok},
512 t.Errorf("Writes = %q\n Want = %q", got, want)
530 t.Errorf("Writes = %q\n Want = %q", got, want)
552 t.Errorf("Original request doesn't match Request read back.")
595 t.Errorf("FormFile file = %v, want nil", f)
598 t.Errorf("FormFile file header = %q, want nil", fh)
601 t.Errorf("FormFile err = %q, want ErrMissingFile", err)
618 t.Errorf("texta value = %q, want %q", g, e)
621 t.Errorf("textb value = %q, want %q", g, e)
624 t.Errorf("missing value = %q, want empty string", g)
641 t.Errorf("fileb has unexpected underlying type %T", fdb)
654 t.Errorf("filename = %q, want %q", fh.Filename, expectFilename)
662 t.Errorf("contents = %q, want %q", g, expectContent)