mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-24 18:30:41 -05:00
16 lines
286 B
Go
16 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")
|
||
|
|
}
|
||
|
|
}
|