16 lines
285 B
Go
16 lines
285 B
Go
|
package ddwrt
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestRequester_GetOutboundIp(t *testing.T) {
|
||
|
requester := NewIpRequester("", "laurent", "&951753seiko38613861")
|
||
|
result := <-requester.GetOutboundIp()
|
||
|
fmt.Printf("%+v\n", result)
|
||
|
if result.Error != nil {
|
||
|
t.Error(result.Error)
|
||
|
}
|
||
|
}
|