mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-20 11:55:18 +00:00
c49453c519
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2968
11 lines
169 B
Go
11 lines
169 B
Go
package gateway
|
|
|
|
import "testing"
|
|
|
|
func TestGateway(t *testing.T) {
|
|
ip, err := DiscoverGateway()
|
|
if err != nil {
|
|
t.Errorf("DiscoverGateway() = %v,%v", ip, err)
|
|
}
|
|
}
|