github.com/sathish1597/hashicorp-terraform@v0.11.12-beta1/backend/remote-state/testing.go (about) 1 package remotestate 2 3 import ( 4 "testing" 5 6 "github.com/hashicorp/terraform/backend" 7 "github.com/hashicorp/terraform/state/remote" 8 ) 9 10 func TestClient(t *testing.T, raw backend.Backend) { 11 b, ok := raw.(*Backend) 12 if !ok { 13 t.Fatalf("not Backend: %T", raw) 14 } 15 16 remote.TestClient(t, b.client) 17 }