Skip to content

Commit 75f6c6e

Browse files
committed
Ignore usetesting lint
1 parent 53afc3c commit 75f6c6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

helper/schema/provider_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2498,6 +2498,7 @@ func TestProvider_InternalValidate(t *testing.T) {
24982498

24992499
func TestProviderUserAgentAppendViaEnvVar(t *testing.T) {
25002500
if oldenv, isSet := os.LookupEnv(uaEnvVar); isSet {
2501+
//nolint:usetesting
25012502
defer os.Setenv(uaEnvVar, oldenv)
25022503
} else {
25032504
defer os.Unsetenv(uaEnvVar)

0 commit comments

Comments
 (0)