encoding/base64: fix test for ReadFull change

R=golang-dev
CC=golang-dev
https://golang.org/cl/7249045
This commit is contained in:
Russ Cox 2013-01-31 14:42:56 -08:00
parent c0e805efd2
commit 31fafa5081
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ func TestDecoderIssue3577(t *testing.T) {
wantErr := errors.New("my error")
next <- nextRead{5, nil}
next <- nextRead{10, wantErr}
next <- nextRead{0, wantErr}
d := NewDecoder(StdEncoding, &faultInjectReader{
source: "VHdhcyBicmlsbGlnLCBhbmQgdGhlIHNsaXRoeSB0b3Zlcw==", // twas brillig...
nextc: next,