From: Matthew Dempsky Date: Sat, 9 Jan 2021 04:44:53 +0000 (-0800) Subject: [dev.typeparams] cmd/go: relax test expectation X-Git-Tag: go1.17beta1~1473^2~113 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8123bc90b8;p=gostls13.git [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 Trust: Robert Griesemer Run-TryBot: Matthew Dempsky TryBot-Result: Go Bot Reviewed-by: Robert Griesemer --- diff --git a/src/cmd/go/testdata/script/vendor_test_issue14613.txt b/src/cmd/go/testdata/script/vendor_test_issue14613.txt index 7801e6944d..cfd7e58f4f 100644 --- a/src/cmd/go/testdata/script/vendor_test_issue14613.txt +++ b/src/cmd/go/testdata/script/vendor_test_issue14613.txt @@ -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'