Skip to content

Commit 0c4b64b

Browse files
committed
test: Add unit test for the provider
Signed-off-by: Federico Barcelona <[email protected]>
1 parent 9cca82f commit 0c4b64b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sysdig/provider_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package sysdig_test
2+
3+
import (
4+
"testing"
5+
6+
"github.com/draios/terraform-provider-sysdig/sysdig"
7+
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
8+
)
9+
10+
func TestProvider(t *testing.T) {
11+
if err := sysdig.Provider().(*schema.Provider).InternalValidate(); err != nil {
12+
t.Fatalf("err: %s", err)
13+
}
14+
}

0 commit comments

Comments
 (0)