From 0b4c96fa92d0baa22cc6362409ec2a245431a4d1 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 1 Dec 2020 16:53:32 -0500 Subject: [PATCH] command/jsonprovider: staticcheck --- command/jsonprovider/provider_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/command/jsonprovider/provider_test.go b/command/jsonprovider/provider_test.go index 8ae049f04..1d6bfd724 100644 --- a/command/jsonprovider/provider_test.go +++ b/command/jsonprovider/provider_test.go @@ -7,7 +7,6 @@ import ( "github.com/google/go-cmp/cmp" "github.com/zclconf/go-cty/cty" - "github.com/hashicorp/terraform/addrs" "github.com/hashicorp/terraform/configs/configschema" "github.com/hashicorp/terraform/terraform" ) @@ -130,14 +129,6 @@ func TestMarshalProvider(t *testing.T) { } } -func testProviders() *terraform.Schemas { - return &terraform.Schemas{ - Providers: map[addrs.Provider]*terraform.ProviderSchema{ - addrs.NewDefaultProvider("test"): testProvider(), - }, - } -} - func testProvider() *terraform.ProviderSchema { return &terraform.ProviderSchema{ Provider: &configschema.Block{