File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package testdata
33
44import "time"
55
6- type InterfaceBloatExample01 interface { // ERROR "the interface has more than 10 methods: 11"
6+ type InterfaceBloatExample01 interface { // want "the interface has more than 10 methods: 11"
77 a01 () time.Duration
88 a02 ()
99 a03 ()
@@ -18,7 +18,7 @@ type InterfaceBloatExample01 interface { // ERROR "the interface has more than 1
1818}
1919
2020func InterfaceBloatExample02 () {
21- var _ interface { // ERROR "the interface has more than 10 methods: 11"
21+ var _ interface { // want "the interface has more than 10 methods: 11"
2222 a01 () time.Duration
2323 a02 ()
2424 a03 ()
@@ -33,7 +33,7 @@ func InterfaceBloatExample02() {
3333 }
3434}
3535
36- func InterfaceBloatExample03 () interface { // ERROR "the interface has more than 10 methods: 11"
36+ func InterfaceBloatExample03 () interface { // want "the interface has more than 10 methods: 11"
3737 a01 () time.Duration
3838 a02 ()
3939 a03 ()
@@ -50,7 +50,7 @@ func InterfaceBloatExample03() interface { // ERROR "the interface has more than
5050}
5151
5252type InterfaceBloatExample04 struct {
53- Foo interface { // ERROR "the interface has more than 10 methods: 11"
53+ Foo interface { // want "the interface has more than 10 methods: 11"
5454 a01 () time.Duration
5555 a02 ()
5656 a03 ()
@@ -88,7 +88,7 @@ type InterfaceBloatExample05 interface {
8888}
8989
9090type InterfaceBloatExample06 interface {
91- interface { // ERROR "the interface has more than 10 methods: 11"
91+ interface { // want "the interface has more than 10 methods: 11"
9292 a01 () time.Duration
9393 a02 ()
9494 a03 ()
You can’t perform that action at this time.
0 commit comments