Format with tabs, add missing comma

This commit is contained in:
Steve Hoeksema 2016-09-08 15:51:31 +12:00
parent 55ac68e0a2
commit e65be3d256

View File

@ -1,25 +1,25 @@
package aws package aws
import ( import (
"testing" "testing"
"github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/helper/resource"
) )
func TestAccAWSBillingServiceAccount_basic(t *testing.T) { func TestAccAWSBillingServiceAccount_basic(t *testing.T) {
resource.Test(t, resource.TestCase{ resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) }, PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders, Providers: testAccProviders,
Steps: []resource.TestStep{ Steps: []resource.TestStep{
resource.TestStep{ resource.TestStep{
Config: testAccCheckAwsBillingServiceAccountConfig, Config: testAccCheckAwsBillingServiceAccountConfig,
Check: resource.ComposeTestCheckFunc( Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("data.aws_billing_service_account.main", "id", "386209384616"), resource.TestCheckResourceAttr("data.aws_billing_service_account.main", "id", "386209384616"),
resource.TestCheckResourceAttr("data.aws_billing_service_account.main", "arn", "arn:aws:iam::386209384616:root"), resource.TestCheckResourceAttr("data.aws_billing_service_account.main", "arn", "arn:aws:iam::386209384616:root"),
), ),
} },
}, },
}) })
} }
const testAccCheckAwsBillingServiceAccountConfig = ` const testAccCheckAwsBillingServiceAccountConfig = `