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