1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:54:39 -07:00

gob: trivial print fix

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5707062
This commit is contained in:
Robert Hencke 2012-02-29 08:45:57 -08:00 committed by Robert Griesemer
parent b1b0ed1e60
commit fc79058199

View File

@ -709,7 +709,7 @@ func TestGobPtrSlices(t *testing.T) {
t.Fatal("decode:", err) t.Fatal("decode:", err)
} }
if !reflect.DeepEqual(in, out) { if !reflect.DeepEqual(in, out) {
t.Fatal("got %v; wanted %v", out, in) t.Fatalf("got %v; wanted %v", out, in)
} }
} }