(t testing.TB, peers []*tailcfg.Node, id tailcfg.NodeID)
| 1262 | } |
| 1263 | |
| 1264 | func getNodeWithID(t testing.TB, peers []*tailcfg.Node, id tailcfg.NodeID) *tailcfg.Node { |
| 1265 | t.Helper() |
| 1266 | for _, n := range peers { |
| 1267 | if n.ID == id { |
| 1268 | return n |
| 1269 | } |
| 1270 | } |
| 1271 | t.Fatal() |
| 1272 | return nil |
| 1273 | } |
| 1274 | |
| 1275 | func requireNeverConfigures(ctx context.Context, t *testing.T, uut *phased) { |
| 1276 | t.Helper() |
no test coverage detected