github.com/benphegan/packer@v1.0.0-rc1/communicator/none/communicator_test.go (about)

     1  package none
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/mitchellh/packer/packer"
     7  )
     8  
     9  func TestCommIsCommunicator(t *testing.T) {
    10  	var raw interface{}
    11  	raw = &comm{}
    12  	if _, ok := raw.(packer.Communicator); !ok {
    13  		t.Fatalf("comm must be a communicator")
    14  	}
    15  }