Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael committed Jul 25, 2024
1 parent 5ef776f commit 6bdd510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codegen/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func SectionsCode(t *testing.T, sections []*SectionTemplate) string {
}

// SectionCodeFromImportsAndMethods generates and formats the code for given import and method definition sections.
func SectionCodeFromImportsAndMethods(t *testing.T, importSection *SectionTemplate, methodSection *SectionTemplate) string {
func SectionCodeFromImportsAndMethods(t *testing.T, importSection, methodSection *SectionTemplate) string {
t.Helper()
var code bytes.Buffer
require.NoError(t, importSection.Write(&code))
Expand Down
2 changes: 1 addition & 1 deletion expr/result_types_root.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type (
ResultTypesRoot []*ResultTypeExpr
)

// GeneratedResulTypes records the generated result types and is a DSL
// GeneratedResultTypes records the generated result types and is a DSL
// root evaluated after Root.
var GeneratedResultTypes = new(ResultTypesRoot)

Expand Down

0 comments on commit 6bdd510

Please sign in to comment.