Skip to content

Commit f5ba04b

Browse files
schighclaude
andcommitted
Fix lint errors from CI
- Remove unused `expect` field from parsing test struct - Replace Fprintf with dynamic format string with os.Stdout.Write Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c547870 commit f5ba04b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

cmd/guid/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func scanGUID(s string, isJSON bool) {
132132
"random": fmt.Sprintf("%d", g.Random()),
133133
}
134134
data, _ := json.Marshal(out)
135-
_, _ = fmt.Fprintf(os.Stdout, string(data))
135+
_, _ = os.Stdout.Write(data)
136136
return
137137
}
138138

guid_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ func TestGUIDX(t *testing.T) {
9999
type test struct {
100100
name string
101101
str string
102-
expect GUID
103102
expectErr bool
104103
errContains string
105104
}

0 commit comments

Comments
 (0)