Skip to content

Commit cc3891a

Browse files
SACHINsAchin-680
authored andcommitted
fix(mdatagen): correct import order in package_test.go template
Fix import grouping to properly separate standard library imports from third-party imports. This resolves the goimpi check failure in CI. Signed-off-by: SACHIN <[email protected]>
1 parent 7b58af9 commit cc3891a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cmd/mdatagen/internal/templates/package_test.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"os"
88
{{- end }}
99
"testing"
10-
1110
{{- if not .Tests.GoLeak.Skip }}
11+
1212
"go.uber.org/goleak"
1313
{{- end }}
1414
)

cmd/mdatagen/internal/testdata/generated_package_test.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)