2016-06-30 17:17:22 -04:00
|
|
|
package none
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2017-04-04 16:39:01 -04:00
|
|
|
"github.com/hashicorp/packer/packer"
|
2016-06-30 17:17:22 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestCommIsCommunicator(t *testing.T) {
|
|
|
|
var raw interface{}
|
|
|
|
raw = &comm{}
|
|
|
|
if _, ok := raw.(packer.Communicator); !ok {
|
|
|
|
t.Fatalf("comm must be a communicator")
|
|
|
|
}
|
|
|
|
}
|