noticed many unrelated changes being added to patches because of gofmt. ran `find . -not -path "./vendor/*" -name "*.go" -exec gofmt -w {} \;`
16 lines
249 B
Go
16 lines
249 B
Go
package none
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mitchellh/packer/packer"
|
|
)
|
|
|
|
func TestCommIsCommunicator(t *testing.T) {
|
|
var raw interface{}
|
|
raw = &comm{}
|
|
if _, ok := raw.(packer.Communicator); !ok {
|
|
t.Fatalf("comm must be a communicator")
|
|
}
|
|
}
|