diff --git a/post-processor/vsphere-tpl/post_processor_test.go b/post-processor/vsphere-tpl/post_processor_test.go index 34675b16c..70dee8e14 100644 --- a/post-processor/vsphere-tpl/post_processor_test.go +++ b/post-processor/vsphere-tpl/post_processor_test.go @@ -13,7 +13,7 @@ func TestConfigureURL(t *testing.T) { p.config.VMName = "my vm" p.config.Insecure = true - if err := p.configureURL(); err == nil { + if err := p.configureURL(); err != nil { t.Errorf("Error: %s", err) } }