(s ...string)
| 40 | ) |
| 41 | |
| 42 | func eps(s ...string) []netip.AddrPort { |
| 43 | var eps []netip.AddrPort |
| 44 | for _, ep := range s { |
| 45 | eps = append(eps, netip.MustParseAddrPort(ep)) |
| 46 | } |
| 47 | return eps |
| 48 | } |
| 49 | |
| 50 | func TestUpdatePeersStateFromResponse(t *testing.T) { |
| 51 | var curTime time.Time |
no outgoing calls
no test coverage detected