mirror of
https://github.com/golang/go
synced 2024-11-19 05:44:40 -07:00
18 lines
463 B
Go
18 lines
463 B
Go
|
// Copyright 2020 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package noresultvalues_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"golang.org/x/tools/go/analysis/analysistest"
|
||
|
"golang.org/x/tools/internal/lsp/analysis/noresultvalues"
|
||
|
)
|
||
|
|
||
|
func Test(t *testing.T) {
|
||
|
testdata := analysistest.TestData()
|
||
|
analysistest.RunWithSuggestedFixes(t, testdata, noresultvalues.Analyzer, "a")
|
||
|
}
|