• Mark Ryan's avatar
    encoding/ascii85: make bigtest big again · 856fd8f5
    Mark Ryan authored
    ascii85_test.go contains a variable called bigtest that is used as
    test data for TestDecoderBuffering and TestEncoderBuffering.  The
    variable is initialised to a copy of the last element of the pairs
    slice.  When the variable was first added the last element of this
    slice contained a sizable test case, 342 encoded characters.  However,
    https://golang.org/cl/5970078 added a new element to the end of the pairs
    slice without updating bigtest.  As the new element contained only 1 byte
    of encoded data bigtest became very small test.  This commit fixes the
    problem by resetting bigtest to its original value and making its
    initialisation independent of the layout of pairs.  All the unit tests
    still pass.
    
    Change-Id: If7fb609ced9da93a2321dfd8372986b2fa772fd5
    Reviewed-on: https://go-review.googlesource.com/46475Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    856fd8f5
Name
Last commit
Last update
..
archive Loading commit data...
bufio Loading commit data...
builtin Loading commit data...
bytes Loading commit data...
cmd Loading commit data...
compress Loading commit data...
container Loading commit data...
context Loading commit data...
crypto Loading commit data...
database/sql Loading commit data...
debug Loading commit data...
encoding Loading commit data...
errors Loading commit data...
expvar Loading commit data...
flag Loading commit data...
fmt Loading commit data...
go Loading commit data...
hash Loading commit data...
html Loading commit data...
image Loading commit data...
index/suffixarray Loading commit data...
internal Loading commit data...
io Loading commit data...
log Loading commit data...
math Loading commit data...
mime Loading commit data...
net Loading commit data...
os Loading commit data...
path Loading commit data...
plugin Loading commit data...
reflect Loading commit data...
regexp Loading commit data...
runtime Loading commit data...
sort Loading commit data...
strconv Loading commit data...
strings Loading commit data...
sync Loading commit data...
syscall Loading commit data...
testing Loading commit data...
text Loading commit data...
time Loading commit data...
unicode Loading commit data...
unsafe Loading commit data...
vendor/golang_org/x Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
androidtest.bash Loading commit data...
bootstrap.bash Loading commit data...
buildall.bash Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
cmp.bash Loading commit data...
iostest.bash Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
naclmake.bash Loading commit data...
nacltest.bash Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...