gcc/libgo/go
Ian Lance Taylor f22c12d736 mime: remove test ordering dependency
Backport CL 421442 from upstream.

Original description:

Arrange for tests that call setMimeInit to fully restore the old values,
by clearing the sync.Once that controls initialization.

Once we've done that, call initMime in initMimeUnixTest because
otherwise the test types loaded there will be cleared by the call to
initMime that previously was not being done.

For golang/go#51648

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/483117
2023-04-07 14:07:10 -07:00
..
archive
bufio
builtin
bytes
cmd
compress
container
context
crypto
database/sql
debug
embed
encoding
errors
expvar
flag
fmt
go
golang.org/x
hash
html
image
index/suffixarray
internal
io
log
math
mime
net
os
path
plugin
reflect
regexp
runtime
sort
strconv
strings
sync
syscall
testdata
testing
text
time
unicode
vendor
go.mod