github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/builtin/providers/archive/provider_test.go (about) 1 package archive 2 3 import ( 4 "testing" 5 6 "github.com/hashicorp/terraform/helper/schema" 7 "github.com/hashicorp/terraform/terraform" 8 ) 9 10 var testProviders = map[string]terraform.ResourceProvider{ 11 "archive": Provider(), 12 } 13 14 func TestProvider(t *testing.T) { 15 if err := Provider().(*schema.Provider).InternalValidate(); err != nil { 16 t.Fatalf("err: %s", err) 17 } 18 }