Added a cast to "(*schema.Provider)" in the standard TestProvider function

pull/5482/head
David Peterson 10 years ago
parent 3eb0a95f53
commit 0c152845ca

@ -102,7 +102,7 @@ an error if it is invalid. An example test is shown below:
```
func TestProvider(t *testing.T) {
if err := Provider().InternalValidate(); err != nil {
if err := Provider().(*schema.Provider).InternalValidate(); err != nil {
t.Fatalf("err: %s", err)
}
}

Loading…
Cancel
Save