Skip to content

Commit dd96f47

Browse files
committed
fixing lint error
1 parent 7c90cb5 commit dd96f47

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

hack/tools/release/notes/main_test.go

+2-6
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ func Test_defaultBranchForNewTag(t *testing.T) {
170170
}
171171

172172
func Test_validateConfig(t *testing.T) {
173-
type args struct {
174-
config *notesCmdConfig
175-
}
173+
176174
tests := []struct {
177175
name string
178176
args *notesCmdConfig
@@ -243,9 +241,7 @@ func Test_validateConfig(t *testing.T) {
243241
}
244242

245243
func Test_computeConfigDefaults(t *testing.T) {
246-
type args struct {
247-
config *notesCmdConfig
248-
}
244+
249245
tests := []struct {
250246
name string
251247
args *notesCmdConfig

0 commit comments

Comments
 (0)