1
0
mirror of https://github.com/golang/go synced 2024-11-20 00:34:43 -07:00
go/src
Sina Siadat 2a668e2467 net/http: simplify ctx.Err() call in test
See CL 40291. ctx.Err() is defined to only return non-nil exactly
when ctx.Done() returns a closed channel.

Change-Id: I12f51d8c42228f759273319b3ccc28012cb9fc73
Reviewed-on: https://go-review.googlesource.com/71310
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-11-10 06:04:37 +00:00
..
archive archive/zip: use Time.UTC instead of Time.In(time.UTC) 2017-11-10 00:27:33 +00:00
bufio
builtin
bytes bytes: reduce work in IndexNearPageBoundary test 2017-11-04 11:09:49 +00:00
cmd cmd/vendor/.../pprof: do not run test that opens web browser 2017-11-10 01:42:10 +00:00
compress
container
context
crypto crypto/subtle: simplify and speed up constant-time primitives 2017-11-10 03:47:57 +00:00
database/sql all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
debug
encoding encoding/json: permit encoding uintptr as a string 2017-11-08 20:34:55 +00:00
errors
expvar
flag
fmt
go net: implement ReadMsg/WriteMsg on windows 2017-11-10 05:55:10 +00:00
hash hash: add marshaling, unmarshaling example 2017-11-04 03:47:34 +00:00
html
image all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
index/suffixarray
internal net: implement ReadMsg/WriteMsg on windows 2017-11-10 05:55:10 +00:00
io
log
math math/big: add security warning to (*Int).Rand 2017-11-06 15:55:31 +00:00
mime
net net/http: simplify ctx.Err() call in test 2017-11-10 06:04:37 +00:00
os syscall: fix NaCl Link syscall error handling 2017-11-06 16:36:34 +00:00
path
plugin
reflect
regexp
runtime cmd/go: implement per-package asmflags, gcflags, ldflags, gccgoflags 2017-11-09 15:04:04 +00:00
sort
strconv
strings strings: optimize ToLower 2017-11-08 21:47:19 +00:00
sync all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
syscall syscall: change SysProcAttr.Token type to Token 2017-11-07 22:06:35 +00:00
testing
text text/template: remove unnecessary lexer field 2017-11-10 04:13:30 +00:00
time time: example in doc for time.AppendFormat func 2017-11-06 17:57:52 +00:00
unicode
unsafe
vendor/golang_org/x vendor: add golang.org/x/crypto/cryptobyte 2017-11-08 00:18:05 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc