From 2d04ef9b99e8c8cdbfe7a53765a6ba03aacb1d10 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 3 Dec 2020 11:32:05 -0800 Subject: [PATCH] remove commented code --- builder/vmware/iso/step_create_vmx_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/builder/vmware/iso/step_create_vmx_test.go b/builder/vmware/iso/step_create_vmx_test.go index e45f41b3f..a9c58caa2 100644 --- a/builder/vmware/iso/step_create_vmx_test.go +++ b/builder/vmware/iso/step_create_vmx_test.go @@ -34,7 +34,6 @@ func createFloppyOutput(prefix string) (string, map[string]string, error) { "floppy0.fileName": outputFile, "floppy0.startConnected": "TRUE", } - // vmxString := fmt.Sprintf("{"+strings.Join(vmxData, ",")+"}", outputFile) return output, vmxData, nil } @@ -108,7 +107,6 @@ func TestStepCreateVmx_SerialFile(t *testing.T) { configString := RenderConfig(serialConfig, map[string]string{}) builderT.Test(t, builderT.TestCase{ - // PreCheck: func() { testAccPreCheck(t) }, Builder: &Builder{}, Template: configString, Check: func(a []packersdk.Artifact) error { @@ -158,7 +156,6 @@ func TestStepCreateVmx_SerialPort(t *testing.T) { config["vmx_data"] = vmxData configString := RenderConfig(config, provision) builderT.Test(t, builderT.TestCase{ - // PreCheck: func() { testAccPreCheck(t) }, Builder: &Builder{}, Template: configString, Check: func(a []packersdk.Artifact) error { @@ -214,7 +211,6 @@ func TestStepCreateVmx_ParallelPort(t *testing.T) { config["vmx_data"] = vmxData configString := RenderConfig(config, provision) builderT.Test(t, builderT.TestCase{ - // PreCheck: func() { testAccPreCheck(t) }, Builder: &Builder{}, Template: configString, Check: func(a []packersdk.Artifact) error { @@ -262,7 +258,6 @@ func TestStepCreateVmx_Usb(t *testing.T) { config["vmx_data"] = vmxData configString := RenderConfig(config, provision) builderT.Test(t, builderT.TestCase{ - // PreCheck: func() { testAccPreCheck(t) }, Builder: &Builder{}, Template: configString, Check: func(a []packersdk.Artifact) error { @@ -316,7 +311,6 @@ func TestStepCreateVmx_Sound(t *testing.T) { config["vmx_data"] = vmxData configString := RenderConfig(config, provision) builderT.Test(t, builderT.TestCase{ - // PreCheck: func() { testAccPreCheck(t) }, Builder: &Builder{}, Template: configString, Check: func(a []packersdk.Artifact) error {