summaryrefslogtreecommitdiff
path: root/src/pkg/encoding
diff options
context:
space:
mode:
authorChristopher Wedgwood <cw@f00f.org>2009-11-30 12:03:10 -0800
committerChristopher Wedgwood <cw@f00f.org>2009-11-30 12:03:10 -0800
commit8becfe92f8768638faa708a96c5faf7a25ac2f88 (patch)
treebba2ba58d10349dec51b1a790edb46be5b5695b7 /src/pkg/encoding
parente84a7d8a18a2e4b6df6b55be2b5020b322bbba48 (diff)
downloadgolang-8becfe92f8768638faa708a96c5faf7a25ac2f88.tar.gz
Add trivial whitespace to CorruptInputError strings.
R=r, rsc http://codereview.appspot.com/161058 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/encoding')
-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 85f688b2f..ac446baf8 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 ddb0e7117..e7b7f4da4 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 71130a883..1e5299792 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!#$%&()*+-;<=>?@^_`{|}~"