1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:34:40 -07:00

net/http: use t.Fatalf rather than t.Fatal in cookie_test.go

Change-Id: I60bbb7deb7462d1ca884677b4f86bd54b20b3f35
Reviewed-on: https://go-review.googlesource.com/2140
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Guobiao Mei 2014-12-27 18:28:07 -05:00 committed by Minux Ma
parent 0668b595b6
commit ddef2d27fe

View File

@ -349,7 +349,7 @@ func TestSetCookieDoubleQuotes(t *testing.T) {
{Name: "quoted3", Value: "both"},
}
if len(got) != len(want) {
t.Fatal("got %d cookies, want %d", len(got), len(want))
t.Fatalf("got %d cookies, want %d", len(got), len(want))
}
for i, w := range want {
g := got[i]