Skip to content

Commit c633c0e

Browse files
committed
struct - lint fix
1 parent 35a0ca9 commit c633c0e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

struct_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -979,12 +979,7 @@ func TestStructRecursiveSelfPointer(t *testing.T) {
979979
func TestStructRecursiveMutualPointer(t *testing.T) {
980980
Seed(11)
981981

982-
type (
983-
A = RecA
984-
B = RecB
985-
)
986-
987-
var a A
982+
var a RecA
988983
if err := Struct(&a); err != nil {
989984
t.Fatal(err)
990985
}

0 commit comments

Comments
 (0)