packer-cn/builder/vsphere/clone/builder_test.go

16 lines
291 B
Go
Raw Normal View History

package clone
2017-06-12 14:08:25 -04:00
import (
"testing"
2020-12-01 16:42:11 -05:00
packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer"
2017-06-12 14:08:25 -04:00
)
2018-01-24 13:52:29 -05:00
func TestCloneBuilder_ImplementsBuilder(t *testing.T) {
2017-06-12 14:08:25 -04:00
var raw interface{}
raw = &Builder{}
2020-12-01 16:42:11 -05:00
if _, ok := raw.(packersdk.Builder); !ok {
2017-06-12 14:08:25 -04:00
t.Fatalf("Builder should be a builder")
}
}