mirror of
https://github.com/golang/go
synced 2024-11-22 20:14:40 -07:00
[dev.typeparams] cmd/go: relax test expectation
go/types reports `"pkg/path" imported and not used` rather than `imported and not used: "pkg/path"`, like cmd/compile. Relax the test expectation to accomodate either. Change-Id: I318992946160a9090f8991f4c97784ba1d1b78b4 Reviewed-on: https://go-review.googlesource.com/c/go/+/282913 Trust: Matthew Dempsky <mdempsky@google.com> Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
8c5aa42c79
commit
8123bc90b8
@ -19,4 +19,4 @@ go test github.com/clsung/go-vendor-issue-14613/vendor_test.go
|
||||
# test with imported and not used
|
||||
go test -i github.com/clsung/go-vendor-issue-14613/vendor/mylibtesttest/myapp/myapp_test.go
|
||||
! go test github.com/clsung/go-vendor-issue-14613/vendor/mylibtesttest/myapp/myapp_test.go
|
||||
stderr 'imported and not used:'
|
||||
stderr 'imported and not used'
|
||||
|
Loading…
Reference in New Issue
Block a user