aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/encoding/json/decode_test.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-02-25 12:43:03 -0800
committerRob Pike <r@golang.org>2013-02-25 12:43:03 -0800
commit707ab1347f114934d65b713e22fdd62b4a83ca36 (patch)
tree6594ba957bb7730a37a8c125f473313f836dd774 /src/pkg/encoding/json/decode_test.go
parent1a01ffd386add6c1e11642c44c4009bd8ffcdd3d (diff)
downloadgo-707ab1347f114934d65b713e22fdd62b4a83ca36.tar.xz
all: fix some vet-found printf errors
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7393059
Diffstat (limited to 'src/pkg/encoding/json/decode_test.go')
-rw-r--r--src/pkg/encoding/json/decode_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/encoding/json/decode_test.go b/src/pkg/encoding/json/decode_test.go
index 1ce26f8fb3..e1bd918dda 100644
--- a/src/pkg/encoding/json/decode_test.go
+++ b/src/pkg/encoding/json/decode_test.go
@@ -1158,7 +1158,7 @@ type Time3339 time.Time
func (t *Time3339) UnmarshalJSON(b []byte) error {
if len(b) < 2 || b[0] != '"' || b[len(b)-1] != '"' {
- return fmt.Errorf("types: failed to unmarshal non-string value %q as an RFC 3339 time")
+ return fmt.Errorf("types: failed to unmarshal non-string value %q as an RFC 3339 time", b)
}
tm, err := time.Parse(time.RFC3339, string(b[1:len(b)-1]))
if err != nil {