packer-cn/builder/osc/chroot/communicator_test.go

16 lines
310 B
Go
Raw Permalink Normal View History

2019-05-09 11:50:44 -05:00
package chroot
import (
"testing"
2020-12-17 13:29:25 -08:00
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
2019-05-09 11:50:44 -05:00
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
var raw interface{}
raw = &Communicator{}
if _, ok := raw.(packersdk.Communicator); !ok {
2019-05-09 11:50:44 -05:00
t.Fatalf("Communicator should be a communicator")
}
}