mirror of https://github.com/hashicorp/packer
Merge pull request #3668 from epowell/master
Add new interface method to the 'none' communicatorpull/3690/head
commit
ac78b57ed0
@ -0,0 +1,16 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue