Skip to content

Commit d8a806d

Browse files
fix: address remaining lint issues
Remove unused struct field writes in gmail_send_test.go and add blank lines before if statements in errfmt_test.go to satisfy wsl linter. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9625a75 commit d8a806d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

internal/cmd/gmail_send_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,6 @@ func TestReplyAllValidation(t *testing.T) {
513513
// Test that --reply-all requires --reply-to-message-id
514514
cmd := &GmailSendCmd{
515515
ReplyAll: true,
516-
Subject: "Test",
517-
Body: "Test body",
518516
}
519517

520518
// This would normally go through Run(), but we can test the validation logic

internal/errfmt/errfmt_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func TestFormat_KongParseError_UnknownFlag(t *testing.T) {
7070
type TestCmd struct {
7171
Max int64 `name:"max" help:"Max results"`
7272
}
73+
7374
parser, err := kong.New(&TestCmd{})
7475
if err != nil {
7576
t.Fatal(err)
@@ -91,6 +92,7 @@ func TestFormat_KongParseError_WithSuggestion(t *testing.T) {
9192
type TestCmd struct {
9293
Limit int64 `name:"limit" help:"Limit results"`
9394
}
95+
9496
parser, err := kong.New(&TestCmd{})
9597
if err != nil {
9698
t.Fatal(err)
@@ -116,6 +118,7 @@ func TestFormat_KongParseError_UnknownFlagWithAlias(t *testing.T) {
116118
type TestCmd struct {
117119
Max int64 `name:"max" aliases:"limit" help:"Max results"`
118120
}
121+
119122
parser, err := kong.New(&TestCmd{})
120123
if err != nil {
121124
t.Fatal(err)

0 commit comments

Comments
 (0)