From c05ac784d3501052701a401e221a24daed7d3a1d Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Thu, 19 Apr 2018 13:08:11 -0500 Subject: [PATCH] fix tests --- builder/virtualbox/common/vboxbundle_config_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) } }