aboutsummaryrefslogtreecommitdiff
path: root/src/text/template/parse/node.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2020-08-27 21:30:24 -0400
committerBryan C. Mills <bcmills@google.com>2020-08-28 02:46:19 +0000
commit18ea6f597c031d5f3c5160217db72d80cb62f689 (patch)
treed5b9c20529af2bdf40bb7477eea85b51705399a3 /src/text/template/parse/node.go
parent26ad27bb026a34149ad0b1d7d56723c8b5dee3d7 (diff)
downloadgo-18ea6f597c031d5f3c5160217db72d80cb62f689.tar.xz
testing: restore os.Exit(0) after every call to (*M).Run
cmd/go.TestScript/test_main_twice demonstrates a program that invokes (*M).Run twice in a row. If we only restore os.Exit(0) in m.afterOnce, we will fail to restore it after the second run and fail the test process despite both runs passing. Updates #29062 Updates #23129 Change-Id: Id22ec68f1708e4583c8dda14a8ba0efae7178b85 Reviewed-on: https://go-review.googlesource.com/c/go/+/251262 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/text/template/parse/node.go')
0 files changed, 0 insertions, 0 deletions