Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: third_party/pkg/angular/test/routing/ng_bind_route_spec.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
« no previous file with comments | « third_party/pkg/angular/test/playback/playback_http_spec.dart ('k') | third_party/pkg/angular/test/routing/ng_view_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698