syncthing/vendor/github.com/jackpal/gateway/gateway_test.go

11 lines
169 B
Go
Raw Normal View History

package gateway
import "testing"
func TestGateway(t *testing.T) {
ip, err := DiscoverGateway()
if err != nil {
t.Errorf("DiscoverGateway() = %v,%v", ip, err)
}
}