test: add unused testdata for fix
This commit is contained in:
parent
c4e40f1968
commit
1353b60074
8
test/testdata/fix/in/unused.go
vendored
Normal file
8
test/testdata/fix/in/unused.go
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
//args: -Eunused
|
||||
package p
|
||||
|
||||
type (
|
||||
unused struct{}
|
||||
)
|
||||
|
||||
func X() {}
|
8
test/testdata/fix/out/unused.go
vendored
Normal file
8
test/testdata/fix/out/unused.go
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
//args: -Eunused
|
||||
package p
|
||||
|
||||
type (
|
||||
unused struct{}
|
||||
)
|
||||
|
||||
func X() {}
|
Loading…
x
Reference in New Issue
Block a user