mirror of https://github.com/golang/go.git
encoding/base64: fix test for ReadFull change
R=golang-dev CC=golang-dev https://golang.org/cl/7249045
This commit is contained in:
parent
c0e805efd2
commit
31fafa5081
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue