Merge pull request #5482 from randomeizer/patch-1

Added a cast to "(*schema.Provider)"
This commit is contained in:
Paul Hinze 2016-03-07 16:29:57 -06:00
commit ec5643f031
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}