mirror of https://github.com/go-redis/redis.git
15 lines
273 B
Go
15 lines
273 B
Go
|
package setval_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"golang.org/x/tools/go/analysis/analysistest"
|
||
|
|
||
|
"github.com/redis/go-redis/internal/customvet/checks/setval"
|
||
|
)
|
||
|
|
||
|
func Test(t *testing.T) {
|
||
|
testdata := analysistest.TestData()
|
||
|
analysistest.Run(t, testdata, setval.Analyzer, "a")
|
||
|
}
|