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 <[email protected]>
gopls-CI: kokoro <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Trust: Peter Weinberger <[email protected]>
Reviewed-by: Rebecca Stambler <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.