mirror of
https://github.com/golang/go
synced 2024-09-25 07:20:12 -06:00
encoding/ascii85: add empty string case for Encode test
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/36830046
This commit is contained in:
parent
b3f38b4630
commit
9d1832f227
@ -16,6 +16,11 @@ type testpair struct {
|
||||
}
|
||||
|
||||
var pairs = []testpair{
|
||||
// Encode returns 0 when len(src) is 0
|
||||
{
|
||||
"",
|
||||
"",
|
||||
},
|
||||
// Wikipedia example
|
||||
{
|
||||
"Man is distinguished, not only by his reason, but by this singular passion from " +
|
||||
|
Loading…
Reference in New Issue
Block a user