mirror of
https://github.com/golang/go
synced 2024-11-17 01:14:53 -07:00
encoding/base64: remove ineffectual assignment in test
This commit is contained in:
parent
56c9f8e8cf
commit
061d9d1d56
@ -175,7 +175,7 @@ func TestDecoder(t *testing.T) {
|
||||
testEqual(t, "Read from %q = length %v, want %v", p.encoded, count, len(p.decoded))
|
||||
testEqual(t, "Decoding of %q = %q, want %q", p.encoded, string(dbuf[0:count]), p.decoded)
|
||||
if err != io.EOF {
|
||||
count, err = decoder.Read(dbuf)
|
||||
_, err = decoder.Read(dbuf)
|
||||
}
|
||||
testEqual(t, "Read from %q = %v, want %v", p.encoded, err, io.EOF)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user