fix golint issues
This commit is contained in:
@@ -31,6 +31,7 @@ func TestMaxInt(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, each := range cases {
|
||||
each := each
|
||||
t.Run(stringx.Rand(), func(t *testing.T) {
|
||||
actual := MaxInt(each.a, each.b)
|
||||
assert.Equal(t, each.expect, actual)
|
||||
|
||||
Reference in New Issue
Block a user