From 92771a23d8e37f01ee601577de72ab359aee130a Mon Sep 17 00:00:00 2001 From: Peter Weinbergr Date: Tue, 1 Dec 2020 13:47:58 -0500 Subject: [PATCH] gopls/internal/regtest: TestRenamePackage passes with go 1.16 Instead of skipping the test, insist on 1.16 or later. See golang/go#41061 Change-Id: Ie13f114039693993d65333ab9194629187a9b6b1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/274533 Run-TryBot: Peter Weinberger gopls-CI: kokoro TryBot-Result: Go Bot Trust: Peter Weinberger Reviewed-by: Rebecca Stambler --- gopls/internal/regtest/diagnostics_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/diagnostics_test.go index c68aa8fc02a..2c76e2a5a4c 100644 --- a/gopls/internal/regtest/diagnostics_test.go +++ b/gopls/internal/regtest/diagnostics_test.go @@ -1434,7 +1434,7 @@ func main() { // have no more complaints about it. // https://github.com/golang/go/issues/41061 func TestRenamePackage(t *testing.T) { - t.Skip("Waiting for the fix that makes this pass: https://github.com/golang/go/issues/41061") + testenv.NeedsGo1Point(t, 16) const contents = ` -- go.mod --