packer-cn/builder/vmware/common/host_ip_ifconfig_test.go

12 lines
228 B
Go
Raw Normal View History

package common
import "testing"
func TestIfconfigIPFinder_Impl(t *testing.T) {
var raw interface{}
raw = &IfconfigIPFinder{}
if _, ok := raw.(HostIPFinder); !ok {
t.Fatalf("IfconfigIPFinder is not a host IP finder")
}
}