Skip to content

Commit 841f1bd

Browse files
modular-magiciannat-henderson
authored andcommitted
Fix generated test name formatting (#2439)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
1 parent 838b4eb commit 841f1bd

27 files changed

+96
-96
lines changed

google/resource_compute_address_generated_test.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeAddress_AddressBasicExample(t *testing.T) {
26+
func TestAccComputeAddress_addressBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeAddress_AddressBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeAddressDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeAddress_AddressBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeAddress_addressBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_address.ip_address",
@@ -43,7 +43,7 @@ func TestAccComputeAddress_AddressBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeAddress_AddressBasicExample(val string) string {
46+
func testAccComputeAddress_addressBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_address" "ip_address" {
4949
name = "my-address-%s"
@@ -52,7 +52,7 @@ resource "google_compute_address" "ip_address" {
5252
)
5353
}
5454

55-
func TestAccComputeAddress_AddressWithSubnetworkExample(t *testing.T) {
55+
func TestAccComputeAddress_addressWithSubnetworkExample(t *testing.T) {
5656
t.Parallel()
5757

5858
resource.Test(t, resource.TestCase{
@@ -61,7 +61,7 @@ func TestAccComputeAddress_AddressWithSubnetworkExample(t *testing.T) {
6161
CheckDestroy: testAccCheckComputeAddressDestroy,
6262
Steps: []resource.TestStep{
6363
{
64-
Config: testAccComputeAddress_AddressWithSubnetworkExample(acctest.RandString(10)),
64+
Config: testAccComputeAddress_addressWithSubnetworkExample(acctest.RandString(10)),
6565
},
6666
{
6767
ResourceName: "google_compute_address.internal_with_subnet_and_address",
@@ -72,7 +72,7 @@ func TestAccComputeAddress_AddressWithSubnetworkExample(t *testing.T) {
7272
})
7373
}
7474

75-
func testAccComputeAddress_AddressWithSubnetworkExample(val string) string {
75+
func testAccComputeAddress_addressWithSubnetworkExample(val string) string {
7676
return fmt.Sprintf(`
7777
resource "google_compute_network" "default" {
7878
name = "my-network-%s"
@@ -96,7 +96,7 @@ resource "google_compute_address" "internal_with_subnet_and_address" {
9696
)
9797
}
9898

99-
func TestAccComputeAddress_InstanceWithIpExample(t *testing.T) {
99+
func TestAccComputeAddress_instanceWithIpExample(t *testing.T) {
100100
t.Parallel()
101101

102102
resource.Test(t, resource.TestCase{
@@ -105,7 +105,7 @@ func TestAccComputeAddress_InstanceWithIpExample(t *testing.T) {
105105
CheckDestroy: testAccCheckComputeAddressDestroy,
106106
Steps: []resource.TestStep{
107107
{
108-
Config: testAccComputeAddress_InstanceWithIpExample(acctest.RandString(10)),
108+
Config: testAccComputeAddress_instanceWithIpExample(acctest.RandString(10)),
109109
},
110110
{
111111
ResourceName: "google_compute_address.static",
@@ -116,7 +116,7 @@ func TestAccComputeAddress_InstanceWithIpExample(t *testing.T) {
116116
})
117117
}
118118

119-
func testAccComputeAddress_InstanceWithIpExample(val string) string {
119+
func testAccComputeAddress_instanceWithIpExample(val string) string {
120120
return fmt.Sprintf(`
121121
resource "google_compute_address" "static" {
122122
name = "ipv4-address-%s"

google/resource_compute_autoscaler_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeAutoscaler_AutoscalerBasicExample(t *testing.T) {
26+
func TestAccComputeAutoscaler_autoscalerBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeAutoscaler_AutoscalerBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeAutoscalerDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeAutoscaler_AutoscalerBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeAutoscaler_autoscalerBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_autoscaler.foobar",
@@ -43,7 +43,7 @@ func TestAccComputeAutoscaler_AutoscalerBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeAutoscaler_AutoscalerBasicExample(val string) string {
46+
func testAccComputeAutoscaler_autoscalerBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_autoscaler" "foobar" {
4949
name = "my-autoscaler-%s"

google/resource_compute_backend_bucket_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeBackendBucket_BackendBucketBasicExample(t *testing.T) {
26+
func TestAccComputeBackendBucket_backendBucketBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeBackendBucket_BackendBucketBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeBackendBucketDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeBackendBucket_BackendBucketBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeBackendBucket_backendBucketBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_backend_bucket.image_backend",
@@ -43,7 +43,7 @@ func TestAccComputeBackendBucket_BackendBucketBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeBackendBucket_BackendBucketBasicExample(val string) string {
46+
func testAccComputeBackendBucket_backendBucketBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_backend_bucket" "image_backend" {
4949
name = "image-backend-bucket-%s"

google/resource_compute_disk_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeDisk_DiskBasicExample(t *testing.T) {
26+
func TestAccComputeDisk_diskBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeDisk_DiskBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeDiskDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeDisk_DiskBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeDisk_diskBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_disk.default",
@@ -43,7 +43,7 @@ func TestAccComputeDisk_DiskBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeDisk_DiskBasicExample(val string) string {
46+
func testAccComputeDisk_diskBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_disk" "default" {
4949
name = "test-disk-%s"

google/resource_compute_firewall_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeFirewall_FirewallBasicExample(t *testing.T) {
26+
func TestAccComputeFirewall_firewallBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeFirewall_FirewallBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeFirewallDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeFirewall_FirewallBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeFirewall_firewallBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_firewall.default",
@@ -43,7 +43,7 @@ func TestAccComputeFirewall_FirewallBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeFirewall_FirewallBasicExample(val string) string {
46+
func testAccComputeFirewall_firewallBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_firewall" "default" {
4949
name = "test-firewall-%s"

google/resource_compute_forwarding_rule_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeForwardingRule_ForwardingRuleBasicExample(t *testing.T) {
26+
func TestAccComputeForwardingRule_forwardingRuleBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeForwardingRule_ForwardingRuleBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeForwardingRuleDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeForwardingRule_ForwardingRuleBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeForwardingRule_forwardingRuleBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_forwarding_rule.default",
@@ -43,7 +43,7 @@ func TestAccComputeForwardingRule_ForwardingRuleBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeForwardingRule_ForwardingRuleBasicExample(val string) string {
46+
func testAccComputeForwardingRule_forwardingRuleBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_forwarding_rule" "default" {
4949
name = "website-forwarding-rule-%s"

google/resource_compute_global_address_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeGlobalAddress_GlobalAddressBasicExample(t *testing.T) {
26+
func TestAccComputeGlobalAddress_globalAddressBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeGlobalAddress_GlobalAddressBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeGlobalAddressDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeGlobalAddress_GlobalAddressBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeGlobalAddress_globalAddressBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_global_address.default",
@@ -43,7 +43,7 @@ func TestAccComputeGlobalAddress_GlobalAddressBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeGlobalAddress_GlobalAddressBasicExample(val string) string {
46+
func testAccComputeGlobalAddress_globalAddressBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_global_address" "default" {
4949
name = "global-appserver-ip-%s"

google/resource_compute_health_check_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeHealthCheck_HealthCheckBasicExample(t *testing.T) {
26+
func TestAccComputeHealthCheck_healthCheckBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeHealthCheck_HealthCheckBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeHealthCheckDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeHealthCheck_HealthCheckBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeHealthCheck_healthCheckBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_health_check.internal-health-check",
@@ -43,7 +43,7 @@ func TestAccComputeHealthCheck_HealthCheckBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeHealthCheck_HealthCheckBasicExample(val string) string {
46+
func testAccComputeHealthCheck_healthCheckBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_health_check" "internal-health-check" {
4949
name = "internal-service-health-check-%s"

google/resource_compute_http_health_check_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeHttpHealthCheck_HttpHealthCheckBasicExample(t *testing.T) {
26+
func TestAccComputeHttpHealthCheck_httpHealthCheckBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeHttpHealthCheck_HttpHealthCheckBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeHttpHealthCheckDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeHttpHealthCheck_HttpHealthCheckBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeHttpHealthCheck_httpHealthCheckBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_http_health_check.default",
@@ -43,7 +43,7 @@ func TestAccComputeHttpHealthCheck_HttpHealthCheckBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeHttpHealthCheck_HttpHealthCheckBasicExample(val string) string {
46+
func testAccComputeHttpHealthCheck_httpHealthCheckBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_http_health_check" "default" {
4949
name = "authentication-health-check-%s"

google/resource_compute_https_health_check_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeHttpsHealthCheck_HttpsHealthCheckBasicExample(t *testing.T) {
26+
func TestAccComputeHttpsHealthCheck_httpsHealthCheckBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeHttpsHealthCheck_HttpsHealthCheckBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeHttpsHealthCheckDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeHttpsHealthCheck_HttpsHealthCheckBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeHttpsHealthCheck_httpsHealthCheckBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_https_health_check.default",
@@ -43,7 +43,7 @@ func TestAccComputeHttpsHealthCheck_HttpsHealthCheckBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeHttpsHealthCheck_HttpsHealthCheckBasicExample(val string) string {
46+
func testAccComputeHttpsHealthCheck_httpsHealthCheckBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_https_health_check" "default" {
4949
name = "authentication-health-check-%s"

google/resource_compute_region_autoscaler_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeRegionAutoscaler_RegionAutoscalerBasicExample(t *testing.T) {
26+
func TestAccComputeRegionAutoscaler_regionAutoscalerBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeRegionAutoscaler_RegionAutoscalerBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeRegionAutoscalerDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeRegionAutoscaler_RegionAutoscalerBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeRegionAutoscaler_regionAutoscalerBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_region_autoscaler.foobar",
@@ -43,7 +43,7 @@ func TestAccComputeRegionAutoscaler_RegionAutoscalerBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeRegionAutoscaler_RegionAutoscalerBasicExample(val string) string {
46+
func testAccComputeRegionAutoscaler_regionAutoscalerBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_region_autoscaler" "foobar" {
4949
name = "my-region-autoscaler-%s"

google/resource_compute_region_disk_generated_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/hashicorp/terraform/terraform"
2424
)
2525

26-
func TestAccComputeRegionDisk_RegionDiskBasicExample(t *testing.T) {
26+
func TestAccComputeRegionDisk_regionDiskBasicExample(t *testing.T) {
2727
t.Parallel()
2828

2929
resource.Test(t, resource.TestCase{
@@ -32,7 +32,7 @@ func TestAccComputeRegionDisk_RegionDiskBasicExample(t *testing.T) {
3232
CheckDestroy: testAccCheckComputeRegionDiskDestroy,
3333
Steps: []resource.TestStep{
3434
{
35-
Config: testAccComputeRegionDisk_RegionDiskBasicExample(acctest.RandString(10)),
35+
Config: testAccComputeRegionDisk_regionDiskBasicExample(acctest.RandString(10)),
3636
},
3737
{
3838
ResourceName: "google_compute_region_disk.regiondisk",
@@ -43,7 +43,7 @@ func TestAccComputeRegionDisk_RegionDiskBasicExample(t *testing.T) {
4343
})
4444
}
4545

46-
func testAccComputeRegionDisk_RegionDiskBasicExample(val string) string {
46+
func testAccComputeRegionDisk_regionDiskBasicExample(val string) string {
4747
return fmt.Sprintf(`
4848
resource "google_compute_region_disk" "regiondisk" {
4949
name = "my-region-disk-%s"

0 commit comments

Comments
 (0)