2018-01-24 06:04:39 -05:00
|
|
|
package clone
|
2017-06-12 14:08:25 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/packer/packer"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
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{}
|
|
|
|
if _, ok := raw.(packer.Builder); !ok {
|
|
|
|
t.Fatalf("Builder should be a builder")
|
|
|
|
}
|
|
|
|
}
|