diff --git a/builder/virtualbox/common/vboxbundle_config_test.go b/builder/virtualbox/common/vboxbundle_config_test.go index abd9db0a1..c039972c8 100644 --- a/builder/virtualbox/common/vboxbundle_config_test.go +++ b/builder/virtualbox/common/vboxbundle_config_test.go @@ -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) } }