don't rename imports except to avoid collisions

This commit is contained in:
James Bardin 2017-05-17 15:35:04 -04:00
parent 490ee8c17d
commit 6254bb6387
1 changed files with 9 additions and 9 deletions

View File

@ -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),
),
},
},