diff --git a/builder/virtualbox/common/step_attach_floppy_test.go b/builder/virtualbox/common/step_attach_floppy_test.go index 32ad4a962..75d51c333 100644 --- a/builder/virtualbox/common/step_attach_floppy_test.go +++ b/builder/virtualbox/common/step_attach_floppy_test.go @@ -38,6 +38,10 @@ func TestStepAttachFloppy(t *testing.T) { t.Fatal("should NOT have error") } + if driver.RemoveFloppyControllersVM == "" { + t.Fatal("RemoveFloppyControllers was not called") + } + if len(driver.VBoxManageCalls) != 2 { t.Fatal("not enough calls to VBoxManage") }