github.com/chalford/terraform@v0.3.7-0.20150113080010-a78c69a8c81f/builtin/providers/null/provider_test.go (about)

     1  package null
     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  func TestProvider_impl(t *testing.T) {
    17  	var _ terraform.ResourceProvider = Provider()
    18  }