mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-23 09:51:08 -05:00
15 lines
286 B
Go
15 lines
286 B
Go
package chroot
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"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")
|
|
}
|
|
}
|