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

16 lines
286 B
Go
Raw Normal View History

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