Skip to content

Commit 1353b60

Browse files
committed
test: add unused testdata for fix
1 parent c4e40f1 commit 1353b60

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

test/testdata/fix/in/unused.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//args: -Eunused
2+
package p
3+
4+
type (
5+
unused struct{}
6+
)
7+
8+
func X() {}

test/testdata/fix/out/unused.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//args: -Eunused
2+
package p
3+
4+
type (
5+
unused struct{}
6+
)
7+
8+
func X() {}

0 commit comments

Comments
 (0)