test: fix transformer tests
This commit is contained in:
parent
27daeaff5e
commit
31b819e9c2
|
@ -9,7 +9,7 @@ library angular2.test.transform.reflection_remover.combinator_files;
|
|||
// those we are removing.
|
||||
|
||||
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() {
|
||||
bootstrapStatic(MyComponent, null, () { ngStaticInit.initReflector(); });
|
||||
|
|
|
@ -9,7 +9,7 @@ library angular2.test.transform.reflection_remover.deferred_bootstrap_files;
|
|||
// those we are removing.
|
||||
|
||||
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() {
|
||||
ng.loadLibrary().then((_) {
|
||||
|
|
Loading…
Reference in New Issue