Skip to content

Commit 5252f92

Browse files
committed
fix(lint): expand inline struct definitions in fieldgroups_test.go
1 parent 7adc626 commit 5252f92

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

sdk/configwatcher/fieldgroups_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,12 @@ func TestGroup_Fill_TypeMismatch(t *testing.T) {
9595
},
9696
}
9797
w := New(tr, "t1")
98-
type A struct{ X string `decree:"x"` }
99-
type B struct{ X string `decree:"x"` }
98+
type A struct {
99+
X string `decree:"x"`
100+
}
101+
type B struct {
102+
X string `decree:"x"`
103+
}
100104

101105
g, err := w.NewGroup(&A{})
102106
if err != nil {

0 commit comments

Comments
 (0)