Commit 35246ba9 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

virtualbox/common: fix test

parent b441348b
...@@ -102,10 +102,13 @@ func TestStepRemoveDevices_floppyPath(t *testing.T) { ...@@ -102,10 +102,13 @@ func TestStepRemoveDevices_floppyPath(t *testing.T) {
} }
// Test that both were removed // Test that both were removed
if len(driver.VBoxManageCalls) != 1 { if len(driver.VBoxManageCalls) != 2 {
t.Fatalf("bad: %#v", driver.VBoxManageCalls) t.Fatalf("bad: %#v", driver.VBoxManageCalls)
} }
if driver.VBoxManageCalls[0][3] != "Floppy Controller" { if driver.VBoxManageCalls[0][3] != "Floppy Controller" {
t.Fatalf("bad: %#v", driver.VBoxManageCalls) t.Fatalf("bad: %#v", driver.VBoxManageCalls)
} }
if driver.VBoxManageCalls[1][3] != "Floppy Controller" {
t.Fatalf("bad: %#v", driver.VBoxManageCalls)
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment