mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6 * Replace prysmaticlabs with OffchainLabs on general markdowns * Update mock * Gazelle and add mock.go to excluded generated mock file
21 lines
379 B
Go
21 lines
379 B
Go
package ineffassign
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/OffchainLabs/prysm/v6/build/bazel"
|
|
"golang.org/x/tools/go/analysis/analysistest"
|
|
)
|
|
|
|
func init() {
|
|
if bazel.BuiltWithBazel() {
|
|
bazel.SetGoEnv()
|
|
}
|
|
}
|
|
|
|
func TestAnalyzer(t *testing.T) {
|
|
testdata := bazel.TestDataPath(t)
|
|
analysistest.TestData = func() string { return testdata }
|
|
analysistest.Run(t, testdata, Analyzer)
|
|
}
|