1
0
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:
Shawn Smith 2013-12-18 08:33:59 -08:00 committed by Brad Fitzpatrick
parent b3f38b4630
commit 9d1832f227

View File

@ -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 " +