diff --git a/builder/qemu/builder_test.go b/builder/qemu/builder_test.go index 84d1d40c3..5e96d2fa7 100644 --- a/builder/qemu/builder_test.go +++ b/builder/qemu/builder_test.go @@ -1,11 +1,12 @@ package qemu import ( - "github.com/mitchellh/packer/packer" "io/ioutil" "os" "reflect" "testing" + + "github.com/mitchellh/packer/packer" ) var testPem = ` @@ -83,7 +84,7 @@ func TestBuilderPrepare_Defaults(t *testing.T) { t.Errorf("bad ssh port: %d", b.config.Comm.SSHPort) } - if b.config.VMName != "packer-foo" { + if b.config.VMName != "packer-foo.qcow2" { t.Errorf("bad vm name: %s", b.config.VMName) }