builder/vmware/iso: remove unused testState()

This commit is contained in:
Lars Lehtonen 2019-11-01 19:11:42 -07:00
parent fcb65ee422
commit 6eefe55e23
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 0 additions and 20 deletions

View File

@ -1,20 +0,0 @@
package iso
import (
"bytes"
"testing"
vmwcommon "github.com/hashicorp/packer/builder/vmware/common"
"github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer"
)
func testState(t *testing.T) multistep.StateBag {
state := new(multistep.BasicStateBag)
state.Put("driver", new(vmwcommon.DriverMock))
state.Put("ui", &packer.BasicUi{
Reader: new(bytes.Buffer),
Writer: new(bytes.Buffer),
})
return state
}