fix tests

This commit is contained in:
Andrew Pennebaker 2018-04-19 13:08:11 -05:00 committed by Megan Marsh
parent 5ada3376b8
commit c05ac784d3
1 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ func TestVBoxBundleConfigPrepare_VBoxBundle(t *testing.T) {
t.Fatalf("err: %#v", errs)
}
if !reflect.DeepEqual(c, VBoxBundleConfig{BundleISO: false}) {
t.Fatalf("bad: %#v", c.BundleISO)
if !reflect.DeepEqual(*c, VBoxBundleConfig{BundleISO: false}) {
t.Fatalf("bad: %#v", c)
}
// Test with a good one
@ -29,7 +29,7 @@ func TestVBoxBundleConfigPrepare_VBoxBundle(t *testing.T) {
BundleISO: true,
}
if !reflect.DeepEqual(c, expected) {
if !reflect.DeepEqual(*c, expected) {
t.Fatalf("bad: %#v", c)
}
}