Skip to content

Commit 3717cad

Browse files
committed
update test
1 parent 07532fe commit 3717cad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cloudstack/resource_cloudstack_nic_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func TestAccCloudStackNIC_macaddress(t *testing.T) {
9494
"cloudstack_instance.foobar", "cloudstack_nic.foo", &nic),
9595
testAccCheckCloudStackNICMacAddress(&nic),
9696
resource.TestCheckResourceAttr(
97-
"cloudstack_nic.foo", "mac_address", "02:1A:4B:3C:5D:6E"),
97+
"cloudstack_nic.foo", "mac_address", "02:1a:4b:3c:5d:6e"),
9898
),
9999
},
100100
},
@@ -176,7 +176,7 @@ func testAccCheckCloudStackNICMacAddress(
176176
return fmt.Errorf("Bad network name: %s", nic.Networkname)
177177
}
178178

179-
if nic.Macaddress != "02:1A:4B:3C:5D:6E" {
179+
if nic.Macaddress != "02:1a:4b:3c:5d:6e" {
180180
return fmt.Errorf("Bad MAC address: %s", nic.Macaddress)
181181
}
182182

@@ -301,5 +301,5 @@ resource "cloudstack_instance" "foobar" {
301301
resource "cloudstack_nic" "foo" {
302302
network_id = cloudstack_network.bar.id
303303
virtual_machine_id = cloudstack_instance.foobar.id
304-
mac_address = "02:1A:4B:3C:5D:6E"
304+
mac_address = "02:1a:4b:3c:5d:6e"
305305
}`

0 commit comments

Comments
 (0)