]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] cmd/go: relax test expectation
authorMatthew Dempsky <mdempsky@google.com>
Sat, 9 Jan 2021 04:44:53 +0000 (20:44 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 11 Jan 2021 19:24:35 +0000 (19:24 +0000)
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>
src/cmd/go/testdata/script/vendor_test_issue14613.txt

index 7801e6944d22f2221dd857cdd32803616a313b80..cfd7e58f4f77903e10220bf89b7a65682a6606af 100644 (file)
@@ -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'