Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
package fastly |
| 2 |
|
| 3 |
import "testing" |
| 4 |
|
| 5 |
func TestClient_IPs(t *testing.T) { |
| 6 |
t.Parallel() |
| 7 |
|
| 8 |
var err error |
| 9 |
var ips IPAddrs |
| 10 |
record(t, "ips/list", func(c *Client) { |
| 11 |
ips, err = c.IPs() |
| 12 |
}) |
| 13 |
if err != nil { |
| 14 |
t.Fatal(err) |
| 15 |
} |
| 16 |
if len(ips) == 0 { |
| 17 |
t.Fatal("missing ips") |
| 18 |
} |
| 19 |
} |