| Index: third_party/pkg/angular/test/routing/ng_bind_route_spec.dart
|
| diff --git a/third_party/pkg/angular/test/routing/ng_bind_route_spec.dart b/third_party/pkg/angular/test/routing/ng_bind_route_spec.dart
|
| index 9b8016f9d2a288ccee9f9d9f0fa1470d14f9daa3..7a9dc79c8264fa238eea9cae04215b985e94b7b0 100644
|
| --- a/third_party/pkg/angular/test/routing/ng_bind_route_spec.dart
|
| +++ b/third_party/pkg/angular/test/routing/ng_bind_route_spec.dart
|
| @@ -9,13 +9,13 @@ main() {
|
| describe('ngBindRoute', () {
|
| TestBed _;
|
|
|
| - beforeEach(module((Module m) => m
|
| + beforeEachModule((Module m) => m
|
| ..install(new AngularMockModule())
|
| - ..type(RouteInitializerFn, implementedBy: NestedRouteInitializer)));
|
| + ..type(RouteInitializerFn, implementedBy: NestedRouteInitializer));
|
|
|
| - beforeEach(inject((TestBed tb) {
|
| + beforeEach((TestBed tb) {
|
| _ = tb;
|
| - }));
|
| + });
|
|
|
|
|
| it('should inject null RouteProvider when no ng-bind-route', async(() {
|
| @@ -47,7 +47,7 @@ main() {
|
| }
|
|
|
| class NestedRouteInitializer implements Function {
|
| - void call(Router router, ViewFactory view) {
|
| + void call(Router router, RouteViewFactory view) {
|
| router.root
|
| ..addRoute(
|
| name: 'library',
|
|
|