Added a cast to "(*schema.Provider)" in the standard TestProvider function
This commit is contained in:
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…
Reference in New Issue