mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-23 18:04:11 -05:00
noticed many unrelated changes being added to patches because of gofmt.
ran `find . -not -path "./vendor/*" -name "*.go" -exec gofmt -w {} \;`
15 lines
249 B
Go
15 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")
|
|
}
|
|
}
|