From 0b9e4998c4183c8162199d19632f38120a165c1b Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Wed, 6 Nov 2024 14:44:22 -0500 Subject: [PATCH] go/{expect,packages/packagestest}: mention the tag+delete proposal Updates golang/go#70229 Change-Id: I831fe290b8e5ec9d1010e7b9d569543e5c5b2cec Reviewed-on: https://go-review.googlesource.com/c/tools/+/625921 Reviewed-by: Robert Findley LUCI-TryBot-Result: Go LUCI --- go/expect/expect.go | 4 ++++ go/packages/packagestest/export.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/go/expect/expect.go b/go/expect/expect.go index fdc023c8924..6cdfcf0bef0 100644 --- a/go/expect/expect.go +++ b/go/expect/expect.go @@ -6,6 +6,10 @@ Package expect provides support for interpreting structured comments in Go source code (including go.mod and go.work files) as test expectations. +[Note: there is an open proposal (golang/go#70229) to deprecate, tag, +and delete this package. If accepted, the last version of the package +be available indefinitely but will not receive updates.] + This is primarily intended for writing tests of things that process Go source files, although it does not directly depend on the testing package. diff --git a/go/packages/packagestest/export.go b/go/packages/packagestest/export.go index 67d48562f4c..47e6d11b94b 100644 --- a/go/packages/packagestest/export.go +++ b/go/packages/packagestest/export.go @@ -5,6 +5,10 @@ /* Package packagestest creates temporary projects on disk for testing go tools on. +[Note: there is an open proposal (golang/go#70229) to deprecate, tag, +and delete this package. If accepted, the last version of the package +be available indefinitely but will not receive updates.] + By changing the exporter used, you can create projects for multiple build systems from the same description, and run the same tests on them in many cases.