mirror of
https://github.com/golang/go
synced 2024-11-19 02:44:44 -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:
parent
0668b595b6
commit
ddef2d27fe
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user