Navigation Menu

Skip to content

Commit

Permalink
gopls/internal/regtest: TestRenamePackage passes with go 1.16
Browse files Browse the repository at this point in the history
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 <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Peter Weinberger <pjw@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
  • Loading branch information
pjweinbgo committed Dec 1, 2020
1 parent 7beb506 commit 92771a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gopls/internal/regtest/diagnostics_test.go
Expand Up @@ -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 --
Expand Down

0 comments on commit 92771a2

Please sign in to comment.