(ipsp *[]net.IP)
| 14 | } |
| 15 | |
| 16 | func setUpIPSFlagSetWithDefault(ipsp *[]net.IP) *FlagSet { |
| 17 | f := NewFlagSet("test", ContinueOnError) |
| 18 | f.IPSliceVar(ipsp, "ips", |
| 19 | []net.IP{ |
| 20 | net.ParseIP("192.168.1.1"), |
| 21 | net.ParseIP("0:0:0:0:0:0:0:1"), |
| 22 | }, |
| 23 | "Command separated list!") |
| 24 | return f |
| 25 | } |
| 26 | |
| 27 | func TestEmptyIP(t *testing.T) { |
| 28 | var ips []net.IP |
no test coverage detected