don't rename imports except to avoid collisions
This commit is contained in:
parent
490ee8c17d
commit
6254bb6387
|
@ -3,7 +3,7 @@ package dns
|
|||
import (
|
||||
"testing"
|
||||
|
||||
r "github.com/hashicorp/terraform/helper/resource"
|
||||
"github.com/hashicorp/terraform/helper/resource"
|
||||
)
|
||||
|
||||
func TestAccDnsCnameRecordSet_Basic(t *testing.T) {
|
||||
|
@ -24,19 +24,19 @@ func TestAccDnsCnameRecordSet_Basic(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, test := range tests {
|
||||
r.Test(t, r.TestCase{
|
||||
resource.Test(t, resource.TestCase{
|
||||
Providers: testAccProviders,
|
||||
Steps: []r.TestStep{
|
||||
r.TestStep{
|
||||
Steps: []resource.TestStep{
|
||||
resource.TestStep{
|
||||
Config: test.DataSourceBlock,
|
||||
Check: r.ComposeTestCheckFunc(
|
||||
r.TestCheckResourceAttr("data.dns_cname_record_set.foo", "cname", test.Expected),
|
||||
Check: resource.ComposeTestCheckFunc(
|
||||
resource.TestCheckResourceAttr("data.dns_cname_record_set.foo", "cname", test.Expected),
|
||||
),
|
||||
},
|
||||
r.TestStep{
|
||||
resource.TestStep{
|
||||
Config: test.DataSourceBlock,
|
||||
Check: r.ComposeTestCheckFunc(
|
||||
r.TestCheckResourceAttr("data.dns_cname_record_set.foo", "id", test.Host),
|
||||
Check: resource.ComposeTestCheckFunc(
|
||||
resource.TestCheckResourceAttr("data.dns_cname_record_set.foo", "id", test.Host),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue