packer-cn/builder/qemu/builder_test.go

16 lines
288 B
Go
Raw Normal View History

package qemu
import (
"testing"
2016-07-26 15:42:04 -04:00
2020-12-01 16:42:11 -05:00
packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer"
)
func TestBuilder_ImplementsBuilder(t *testing.T) {
var raw interface{}
raw = &Builder{}
2020-12-01 16:42:11 -05:00
if _, ok := raw.(packersdk.Builder); !ok {
t.Error("Builder must implement builder.")
}
}