github.com/kaixiang/packer@v0.5.2-0.20140114230416-1f5786b0d7f1/builder/vmware/iso/host_ip_ifconfig_test.go (about)

     1  package iso
     2  
     3  import "testing"
     4  
     5  func TestIfconfigIPFinder_Impl(t *testing.T) {
     6  	var raw interface{}
     7  	raw = &IfconfigIPFinder{}
     8  	if _, ok := raw.(HostIPFinder); !ok {
     9  		t.Fatalf("IfconfigIPFinder is not a host IP finder")
    10  	}
    11  }