(t *testing.T)
| 339 | } |
| 340 | |
| 341 | func TestNumRoutes(t *testing.T) { |
| 342 | ep := NewTestEntrypoint(t, nil) |
| 343 | |
| 344 | expect.Equal(t, 0, ep.NumRoutes()) |
| 345 | |
| 346 | addRoute(t, "app1") |
| 347 | expect.Equal(t, 1, ep.NumRoutes()) |
| 348 | |
| 349 | addRoute(t, "app2") |
| 350 | expect.Equal(t, 2, ep.NumRoutes()) |
| 351 | } |
| 352 | |
| 353 | func TestIterRoutes(t *testing.T) { |
| 354 | ep := NewTestEntrypoint(t, nil) |
nothing calls this directly
no test coverage detected