mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
5a66807989
* First take at updating everything to v5 * Patch gRPC gateway to use prysm v5 Fix patch * Update go ssz --------- Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
21 lines
380 B
Go
21 lines
380 B
Go
package slicedirect
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/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)
|
|
}
|