diff options
| author | Rob Pike <r@golang.org> | 2013-02-25 12:43:03 -0800 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2013-02-25 12:43:03 -0800 |
| commit | 707ab1347f114934d65b713e22fdd62b4a83ca36 (patch) | |
| tree | 6594ba957bb7730a37a8c125f473313f836dd774 /src/pkg/encoding/json/decode_test.go | |
| parent | 1a01ffd386add6c1e11642c44c4009bd8ffcdd3d (diff) | |
| download | go-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.go | 2 |
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 { |
