packer-cn/builder/qemu/builder_test.go

16 lines
281 B
Go
Raw Normal View History

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