]> Cypherpunks.ru repositories - gostls13.git/commit
testing: correct comments on runCleanup
authorEvan Jones <ej@evanjones.ca>
Tue, 31 Oct 2023 13:04:15 +0000 (09:04 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 6 Nov 2023 18:01:18 +0000 (18:01 +0000)
commit0354ee3aab4b65e288a24c5b4be1296ffbbfd3c3
tree2fa05427dcdad8845dc224f43342b7e0306bd0b2
parentd5b5ab929bf49403de3e2b61e9e771e775893d01
testing: correct comments on runCleanup

The comment on runCleanup states "If catchPanic is true ...", but
there is no catchPanic argument or variable. This was introduced
in CL 214822, which introduced the panicHandling type. The code was
updated during code review, but the comment was missed.

Change-Id: Id14c5397e7a026bfdf98ea10ecb1e4c61ce2f924
Reviewed-on: https://go-review.googlesource.com/c/go/+/538695
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/testing/testing.go