]> Cypherpunks repositories - gostls13.git/commit
weak: test the use of runtime.AddCleanup
authorCarlos Amedee <carlos@golang.org>
Fri, 14 Feb 2025 18:01:02 +0000 (13:01 -0500)
committerCarlos Amedee <carlos@golang.org>
Tue, 25 Feb 2025 16:44:32 +0000 (08:44 -0800)
commit2f036e1475f9d794451927d90c07d9f8c258db77
tree58ceecd981a56a3690bdac4814a3cf28ce182d9e
parentc2ae5c7443fc8bda1d2b06390d4b439e81fb4b09
weak: test the use of runtime.AddCleanup

This change adds a test case for runtime.AddCleanup.

Updates #70907

Change-Id: I29cba9dc5b40cec8e610215974e61ee47e10d00f
Reviewed-on: https://go-review.googlesource.com/c/go/+/649459
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/weak/pointer_test.go