Commit c78710f5 authored by Christopher Wedgwood's avatar Christopher Wedgwood Committed by Russ Cox

Add trivial whitespace to CorruptInputError strings.

R=r, rsc
https://golang.org/cl/161058
parent f0c97195
...@@ -169,7 +169,7 @@ func (e *encoder) Close() os.Error { ...@@ -169,7 +169,7 @@ func (e *encoder) Close() os.Error {
type CorruptInputError int64 type CorruptInputError int64
func (e CorruptInputError) String() string { 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 // Decode decodes src into dst, returning both the number
......
...@@ -197,7 +197,7 @@ func (enc *Encoding) EncodedLen(n int) int { return (n + 2) / 3 * 4 } ...@@ -197,7 +197,7 @@ func (enc *Encoding) EncodedLen(n int) int { return (n + 2) / 3 * 4 }
type CorruptInputError int64 type CorruptInputError int64
func (e CorruptInputError) String() string { 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 // decode is like Decode but returns an additional 'end' value, which
......
...@@ -16,7 +16,7 @@ import ( ...@@ -16,7 +16,7 @@ import (
type CorruptInputError int64 type CorruptInputError int64
func (e CorruptInputError) String() string { 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!#$%&()*+-;<=>?@^_`{|}~" const encode = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment