github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/builtin/providers/external/provider_test.go (about)

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