mirror of
https://github.com/golang/go
synced 2024-11-06 00:36:14 -07:00
18 lines
451 B
Go
18 lines
451 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 fillstruct_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"golang.org/x/tools/go/analysis/analysistest"
|
||
|
"golang.org/x/tools/internal/lsp/analysis/fillstruct"
|
||
|
)
|
||
|
|
||
|
func Test(t *testing.T) {
|
||
|
testdata := analysistest.TestData()
|
||
|
analysistest.RunWithSuggestedFixes(t, testdata, fillstruct.Analyzer, "a")
|
||
|
}
|