aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorChangkun Ou <hi@changkun.us>2020-08-31 20:54:17 +0200
committerEmmanuel Odeke <emm.odeke@gmail.com>2020-09-01 20:13:34 +0000
commitafa150c2ea1b121c7727c12ab3615fcc173d0d15 (patch)
treeb4dd1c2d1db7852a05fb1e1b6a7f8f17c1ca50fc /src/net/http
parentac55d58fca4312fe4f84fa3a4761800803bc25e0 (diff)
downloadgo-afa150c2ea1b121c7727c12ab3615fcc173d0d15.tar.xz
testing: fail Example tests that invoke runtime.Goexit
Previously, if an example test invoked runtime.Goexit, it would pass yet hang until a timeout, while regular tests that invoke runtime.Goexit do fail. This change removes that inconsistent behavior and makes such example tests fail, and panic with an indication of having invoked runtime.Goexit. Fixes #41084 Change-Id: I0ffa152204f2b1580f4d5d6961ba1ce6b13fc022 Reviewed-on: https://go-review.googlesource.com/c/go/+/251857 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions