From fc79058199f4038a96c3c7ad31843c71894e9668 Mon Sep 17 00:00:00 2001 From: Robert Hencke Date: Wed, 29 Feb 2012 08:45:57 -0800 Subject: [PATCH] gob: trivial print fix R=golang-dev, gri CC=golang-dev https://golang.org/cl/5707062 --- src/pkg/encoding/gob/encoder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/encoding/gob/encoder_test.go b/src/pkg/encoding/gob/encoder_test.go index 3bfae30f39a..050786dfd1f 100644 --- a/src/pkg/encoding/gob/encoder_test.go +++ b/src/pkg/encoding/gob/encoder_test.go @@ -709,7 +709,7 @@ func TestGobPtrSlices(t *testing.T) { t.Fatal("decode:", err) } if !reflect.DeepEqual(in, out) { - t.Fatal("got %v; wanted %v", out, in) + t.Fatalf("got %v; wanted %v", out, in) } }