From 478f42bad1e229935109bb22acc2c15af635811d Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Thu, 12 Dec 2024 15:43:38 -0500 Subject: [PATCH] Lint --- dynamic/internal/shim/run/loader_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dynamic/internal/shim/run/loader_test.go b/dynamic/internal/shim/run/loader_test.go index 5219c0e19..7c1ec59f3 100644 --- a/dynamic/internal/shim/run/loader_test.go +++ b/dynamic/internal/shim/run/loader_test.go @@ -16,7 +16,6 @@ package run import ( "context" - "os" "testing" "github.com/hashicorp/terraform-plugin-go/tfprotov6" @@ -37,8 +36,7 @@ func TestLoadProvider(t *testing.T) { t.Run("registry", func(t *testing.T) { // Do not cache during the test. - err := os.Setenv(envPluginCache, t.TempDir()) - require.NoError(t, err) + t.Setenv(envPluginCache, t.TempDir()) Integration(t) ctx := context.Background()