fix some lint errors

This commit is contained in:
sentriz
2020-03-11 18:34:34 +00:00
parent cb6f3757a4
commit 1b1049a1b7
3 changed files with 5 additions and 6 deletions

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 {