diff --git a/website/source/docs/plugins/provider.html.md b/website/source/docs/plugins/provider.html.md index 57b7ccfaa..558770f2d 100644 --- a/website/source/docs/plugins/provider.html.md +++ b/website/source/docs/plugins/provider.html.md @@ -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) } }