15 lines
347 B
Go
15 lines
347 B
Go
|
package lxc
|
||
|
|
||
|
import (
|
||
|
"github.com/mitchellh/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")
|
||
|
}
|
||
|
}
|