aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Wedgwood <cw@f00f.org>2009-11-30 12:03:10 -0800
committerRuss Cox <rsc@golang.org>2009-11-30 12:03:10 -0800
commitc78710f53e8eb2532f690307d8a5a5650f6dfc63 (patch)
tree3abe2c84250b4599633314536d1163995783fc4b /src
parentf0c971954091903622ebd2c5432cbcc08d3e937f (diff)
downloadgo-c78710f53e8eb2532f690307d8a5a5650f6dfc63.tar.xz
Add trivial whitespace to CorruptInputError strings.
R=r, rsc https://golang.org/cl/161058
Diffstat (limited to 'src')
-rw-r--r--src/pkg/encoding/ascii85/ascii85.go2
-rw-r--r--src/pkg/encoding/base64/base64.go2
-rw-r--r--src/pkg/encoding/git85/git.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/encoding/ascii85/ascii85.go b/src/pkg/encoding/ascii85/ascii85.go
index 85f688b2f6..ac446baf82 100644
--- a/src/pkg/encoding/ascii85/ascii85.go
+++ b/src/pkg/encoding/ascii85/ascii85.go
@@ -169,7 +169,7 @@ func (e *encoder) Close() os.Error {
type CorruptInputError int64
func (e CorruptInputError) String() string {
- return "illegal ascii85 data at input byte" + strconv.Itoa64(int64(e))
+ return "illegal ascii85 data at input byte " + strconv.Itoa64(int64(e))
}
// Decode decodes src into dst, returning both the number
diff --git a/src/pkg/encoding/base64/base64.go b/src/pkg/encoding/base64/base64.go
index ddb0e71177..e7b7f4da40 100644
--- a/src/pkg/encoding/base64/base64.go
+++ b/src/pkg/encoding/base64/base64.go
@@ -197,7 +197,7 @@ func (enc *Encoding) EncodedLen(n int) int { return (n + 2) / 3 * 4 }
type CorruptInputError int64
func (e CorruptInputError) String() string {
- return "illegal base64 data at input byte" + strconv.Itoa64(int64(e))
+ return "illegal base64 data at input byte " + strconv.Itoa64(int64(e))
}
// decode is like Decode but returns an additional 'end' value, which
diff --git a/src/pkg/encoding/git85/git.go b/src/pkg/encoding/git85/git.go
index 71130a883b..1e52997929 100644
--- a/src/pkg/encoding/git85/git.go
+++ b/src/pkg/encoding/git85/git.go
@@ -16,7 +16,7 @@ import (
type CorruptInputError int64
func (e CorruptInputError) String() string {
- return "illegal git85 data at input byte" + strconv.Itoa64(int64(e))
+ return "illegal git85 data at input byte " + strconv.Itoa64(int64(e))
}
const encode = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"