diff options
author | Thomas Hipp <thomashipp@gmail.com> | 2017-11-28 09:55:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 09:55:44 +0100 |
commit | 3fe13bb19661adfd488ff20d978fbac407e34835 (patch) | |
tree | 4e607290bc9e5e57669a97b0060268f9db6bc64b /libvirt/resource_libvirt_volume_test.go | |
parent | c7cc7221d46e8fa7ee7d64c7eab64f5515980fc1 (diff) | |
parent | c18ea2d3772fc16f7d4479d59a69becd3e81cba4 (diff) | |
download | terraform-provider-libvirt-3fe13bb19661adfd488ff20d978fbac407e34835.tar terraform-provider-libvirt-3fe13bb19661adfd488ff20d978fbac407e34835.tar.gz |
Merge pull request #253 from monstermunchkin/test-formatting
tests: format hcl strings
Diffstat (limited to 'libvirt/resource_libvirt_volume_test.go')
-rw-r--r-- | libvirt/resource_libvirt_volume_test.go | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libvirt/resource_libvirt_volume_test.go b/libvirt/resource_libvirt_volume_test.go index 277b2990..d185b65e 100644 --- a/libvirt/resource_libvirt_volume_test.go +++ b/libvirt/resource_libvirt_volume_test.go @@ -85,10 +85,10 @@ func TestAccLibvirtVolume_Basic(t *testing.T) { var volume libvirt.StorageVol const testAccCheckLibvirtVolumeConfigBasic = ` - resource "libvirt_volume" "terraform-acceptance-test-1" { - name = "terraform-test" - size = 1073741824 - }` + resource "libvirt_volume" "terraform-acceptance-test-1" { + name = "terraform-test" + size = 1073741824 + }` resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, @@ -125,10 +125,10 @@ func TestAccLibvirtVolume_DownloadFromSource(t *testing.T) { } const testAccCheckLibvirtVolumeConfigSource = ` - resource "libvirt_volume" "terraform-acceptance-test-2" { - name = "terraform-test" - source = "%s" - }` + resource "libvirt_volume" "terraform-acceptance-test-2" { + name = "terraform-test" + source = "%s" + }` config := fmt.Sprintf(testAccCheckLibvirtVolumeConfigSource, url) resource.Test(t, resource.TestCase{ @@ -152,11 +152,11 @@ func TestAccLibvirtVolume_Format(t *testing.T) { var volume libvirt.StorageVol const testAccCheckLibvirtVolumeConfigFormat = ` - resource "libvirt_volume" "terraform-acceptance-test-3" { - name = "terraform-test" - format = "raw" - size = 1073741824 - }` + resource "libvirt_volume" "terraform-acceptance-test-3" { + name = "terraform-test" + format = "raw" + size = 1073741824 + }` resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, |