packer-cn/builder/amazon/chroot/communicator_test.go

15 lines
285 B
Go
Raw Normal View History

package chroot
import (
2017-04-04 16:39:01 -04:00
"github.com/hashicorp/packer/packer"
"testing"
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
var raw interface{}
raw = &Communicator{}
if _, ok := raw.(packer.Communicator); !ok {
t.Fatalf("Communicator should be a communicator")
}
}