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