go/internal/lsp/analysis/simplifyslice
Suzy Mueller 6f5fd9bf41 internal/lsp: add parameterized slice test for simplifyslice analysis
Add a test for a parameterized slice to make sure that the simplify
slice analysis still finds the simplification.

Change-Id: I20d5f064bcae60c752f0dee53472dd5db0b18a89
Reviewed-on: https://go-review.googlesource.com/c/tools/+/352089
Trust: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2021-10-01 15:56:03 +00:00
..
testdata/src internal/lsp: add parameterized slice test for simplifyslice analysis 2021-10-01 15:56:03 +00:00
simplifyslice.go
simplifyslice_test.go internal/lsp: add parameterized slice test for simplifyslice analysis 2021-10-01 15:56:03 +00:00