15 lines
253 B
Go
15 lines
253 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/hashicorp/packer/packer"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestBuilder_ImplementsBuilder(t *testing.T) {
|
||
|
var raw interface{}
|
||
|
raw = &Builder{}
|
||
|
if _, ok := raw.(packer.Builder); !ok {
|
||
|
t.Fatalf("Builder should be a builder")
|
||
|
}
|
||
|
}
|