16 lines
323 B
Go
16 lines
323 B
Go
package lxc
|
|
|
|
import (
|
|
"testing"
|
|
|
|
packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer"
|
|
)
|
|
|
|
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
|
|
var raw interface{}
|
|
raw = &LxcAttachCommunicator{}
|
|
if _, ok := raw.(packersdk.Communicator); !ok {
|
|
t.Fatalf("Communicator should be a communicator")
|
|
}
|
|
}
|