Skip to content

Commit

Permalink
feat(test): update
Browse files Browse the repository at this point in the history
  • Loading branch information
Just-maple committed Oct 27, 2023
1 parent 5c911bb commit 6ba6959
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions internal/plugins/impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ type (
Impls string
)
func (impls *T3Impl) Int2() {
panic("not implemented")
}
`

const testImplRetData = `package x
Expand Down Expand Up @@ -77,6 +81,10 @@ type (
Impls string
)
func (impls *T3Impl) Int2(context.Context) map[context.Context]int {
panic("not implemented")
}
func (impls *Impls) Int() int {
panic("not implemented")
}
Expand All @@ -91,10 +99,6 @@ var (
type T3Impl struct{}
func (t3impl *T3Impl) Int2(context.Context) map[context.Context]int {
panic("not implemented")
}
var (
_ T4 = (*T4Impl)(nil)
)
Expand Down

0 comments on commit 6ba6959

Please sign in to comment.