blob: e6e7e5cac7fb21be3f1d485b604b642a98f40998 [file] [log] [blame]
Alan Donovana0ecdcb2018-10-15 18:10:24 -04001// Copyright 2018 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
Alan Donovanfe088672018-10-09 10:56:14 -04005package nilfunc_test
6
7import (
Alan Donovan23c86e82023-12-12 12:54:00 -05008 "testing"
9
Alan Donovanfe088672018-10-09 10:56:14 -040010 "golang.org/x/tools/go/analysis/analysistest"
11 "golang.org/x/tools/go/analysis/passes/nilfunc"
12)
13
14func Test(t *testing.T) {
15 testdata := analysistest.TestData()
Alan Donovan23c86e82023-12-12 12:54:00 -050016 analysistest.Run(t, testdata, nilfunc.Analyzer, "a", "typeparams")
Alan Donovanfe088672018-10-09 10:56:14 -040017}