packer-cn/communicator/none/communicator_test.go

16 lines
249 B
Go

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