commit | c4ead46007cd1af7f5f93bd721c949e2732ac785 | [log] [tgz] |
---|---|---|
author | Guodong Li <guodongli@google.com> | Tue Oct 26 00:25:41 2021 -0700 |
committer | Guodong Li <guodongli@google.com> | Tue Oct 26 15:46:18 2021 +0000 |
tree | dd807bd24d2ec2db190b138a93e96e77212f86e8 | |
parent | 903c757bd125430455fc40c7cd248ce1578c33a0 [diff] |
go/analysis/passes/httpresponse: fix a testing issue Fixes golang/go#49160 Change-Id: Ie22f45626df37b4d701feedaf0ba4516505bfbfe Reviewed-on: https://go-review.googlesource.com/c/tools/+/358698 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
diff --git a/go/analysis/passes/httpresponse/httpresponse_test.go b/go/analysis/passes/httpresponse/httpresponse_test.go index a2b6815..14e1667 100644 --- a/go/analysis/passes/httpresponse/httpresponse_test.go +++ b/go/analysis/passes/httpresponse/httpresponse_test.go
@@ -14,7 +14,7 @@ func Test(t *testing.T) { testdata := analysistest.TestData() tests := []string{"a"} - if true || typeparams.Enabled { + if typeparams.Enabled { tests = append(tests, "typeparams") } analysistest.Run(t, testdata, httpresponse.Analyzer, tests...)