GoPLS Viewer

Home|gopls/go/analysis/passes/reflectvaluecompare/reflectvaluecompare_test.go
1// Copyright 2021 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package reflectvaluecompare_test
6
7import (
8    "testing"
9
10    "golang.org/x/tools/go/analysis/analysistest"
11    "golang.org/x/tools/go/analysis/passes/reflectvaluecompare"
12)
13
14func TestReflectValueCompare(t *testing.T) {
15    testdata := analysistest.TestData()
16    analysistest.Run(ttestdatareflectvaluecompare.Analyzer"a")
17}
18
MembersX
testing
analysistest
reflectvaluecompare
TestReflectValueCompare
TestReflectValueCompare.t
TestReflectValueCompare.testdata
Members
X