fix some lint errors

This commit is contained in:
sentriz
2020-03-12 01:25:24 +00:00
parent cb6f3757a4
commit 1b1049a1b7
3 changed files with 5 additions and 6 deletions

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ func TestFirstExisting(t *testing.T) {
},
}
for _, tc := range cases {
tc := tc // pin
t.Run(tc.name, func(t *testing.T) {
actu := firstExisting(tc.or, tc.values...)
if actu != tc.exp {