packer-cn/builder/amazon/instance/builder_test.go

15 lines
257 B
Go
Raw Normal View History

2013-07-15 02:56:28 -04:00
package instance
import (
"github.com/mitchellh/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")
}
}