Skip to content

Commit

Permalink
Ignore usetesting lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SBGoods committed Feb 18, 2025
1 parent 53afc3c commit 75f6c6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helper/schema/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2498,6 +2498,7 @@ func TestProvider_InternalValidate(t *testing.T) {

func TestProviderUserAgentAppendViaEnvVar(t *testing.T) {
if oldenv, isSet := os.LookupEnv(uaEnvVar); isSet {
//nolint:usetesting
defer os.Setenv(uaEnvVar, oldenv)
} else {
defer os.Unsetenv(uaEnvVar)
Expand Down

0 comments on commit 75f6c6e

Please sign in to comment.