test: fix transformer tests

This commit is contained in:
vsavkin 2016-02-02 10:21:40 -08:00
parent 27daeaff5e
commit 31b819e9c2
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ library angular2.test.transform.reflection_remover.combinator_files;
// those we are removing. // those we are removing.
var code = """ var code = """
import 'package:angular2/bootstrap_static.dart' show bootstrapStatic, initReflector;import 'index.ng_deps.dart' as ngStaticInit; import 'package:angular2/bootstrap_static.dart' show bootstrapStatic, initReflector;import 'index.template.dart' as ngStaticInit;
void main() { void main() {
bootstrapStatic(MyComponent, null, () { ngStaticInit.initReflector(); }); bootstrapStatic(MyComponent, null, () { ngStaticInit.initReflector(); });

View File

@ -9,7 +9,7 @@ library angular2.test.transform.reflection_remover.deferred_bootstrap_files;
// those we are removing. // those we are removing.
var code = """ var code = """
import 'package:angular2/bootstrap_static.dart' deferred as ng;import 'index.ng_deps.dart' as ngStaticInit; import 'package:angular2/bootstrap_static.dart' deferred as ng;import 'index.template.dart' as ngStaticInit;
void main() { void main() {
ng.loadLibrary().then((_) { ng.loadLibrary().then((_) {