Skip to content

Commit

Permalink
clean comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinJSilk committed Jan 24, 2024
1 parent 82c1854 commit 93da8ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,9 @@ func (s *GeneratorSuite) TestReplaceGeneric() {
s.checkGenerationRegexWithConfig("generic.go", "ReplaceGeneric", cfg, []regexpExpected{
// type ReplaceGeneric[TAny interface{}] struct
{true, regexp.MustCompile(`type ReplaceGeneric\[TAny interface\{\}\] struct`)},
// func (_m *ReplaceGeneric[TAny]) A(t1 int) TAny {
// func (_m *ReplaceGeneric[TAny]) A(t1 int) TAny
{true, regexp.MustCompile(`func \(_m \*ReplaceGeneric\[TAny\]\) A\(t1 int\) TAny`)},
// func (_m *ReplaceGeneric[TAny]) B(t2 TAny) int {
// func (_m *ReplaceGeneric[TAny]) B(t2 TAny) int
{true, regexp.MustCompile(`func \(_m \*ReplaceGeneric\[TAny\]\) B\(t2 TAny\) int`)},
})
}
Expand Down

0 comments on commit 93da8ee

Please sign in to comment.