mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-20 11:55:18 +00:00
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)
|
||
|
}
|
||
|
}
|