Skip to content

Commit

Permalink
fix: core lint (#2807)
Browse files Browse the repository at this point in the history
Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>
  • Loading branch information
trajan0x and trajan0x authored Jun 27, 2024
1 parent 78123ff commit 18ac4e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/bytes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ func TestBytesToJSONString(t *testing.T) {
},
}

for _, tt := range tests {
for i := range tests {
tt := tests[i]
t.Run(tt.name, func(t *testing.T) {
got, err := core.BytesToJSONString(tt.input)
if (err != nil) != tt.wantErr {
Expand Down

0 comments on commit 18ac4e6

Please sign in to comment.