Commit 9d1832f2 authored by Shawn Smith's avatar Shawn Smith Committed by Brad Fitzpatrick

encoding/ascii85: add empty string case for Encode test

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/36830046
parent b3f38b46
......@@ -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 " +
......
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