Skip to content

Commit 90461dd

Browse files
joeybloggsjoeybloggs
authored andcommitted
remove ineffassign variable
1 parent 4d0b0d0 commit 90461dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

encoder_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func TestEncoderInt(t *testing.T) {
189189
Equal(t, ok, true)
190190
Equal(t, val[0], "0")
191191

192-
val, ok = values["NoPtrValue"]
192+
_, ok = values["NoPtrValue"]
193193
Equal(t, ok, false)
194194
}
195195

@@ -355,7 +355,7 @@ func TestEncoderUint(t *testing.T) {
355355
Equal(t, ok, true)
356356
Equal(t, val[0], "0")
357357

358-
val, ok = values["NoPtrValue"]
358+
_, ok = values["NoPtrValue"]
359359
Equal(t, ok, false)
360360
}
361361

0 commit comments

Comments
 (0)