From 8123bc90b85ef685f1c877346c2378651a42d529 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Fri, 8 Jan 2021 20:44:53 -0800 Subject: [PATCH] [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 --- src/cmd/go/testdata/script/vendor_test_issue14613.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/testdata/script/vendor_test_issue14613.txt b/src/cmd/go/testdata/script/vendor_test_issue14613.txt index 7801e6944d2..cfd7e58f4f7 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'