packer-cn/builder/lxc/communicator_test.go

15 lines
291 B
Go

package lxc
import (
"github.com/hashicorp/packer/packer"
"testing"
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
var raw interface{}
raw = &LxcAttachCommunicator{}
if _, ok := raw.(packer.Communicator); !ok {
t.Fatalf("Communicator should be a communicator")
}
}