Skip to content

Commit b1db113

Browse files
committed
missed one
1 parent 925d772 commit b1db113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cliflag/cliflag_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ func TestCliflag(t *testing.T) {
131131
t.Setenv(env, strconv.FormatUint(uint64(envValue), 10))
132132
def, _ := cryptorand.Intn(10)
133133

134+
//nolint:gosec
134135
cliflag.Uint8VarP(flagset, &ptr, name, shorthand, env, uint8(def), usage)
135136
got, err := flagset.GetUint8(name)
136137
require.NoError(t, err)
137-
//nolint:gosec
138138
require.Equal(t, uint8(envValue), got)
139139
})
140140

0 commit comments

Comments
 (0)