| Index: tests/compiler/dart2js/js_spec_optimization_test.dart
|
| diff --git a/tests/compiler/dart2js/js_spec_optimization_test.dart b/tests/compiler/dart2js/js_spec_optimization_test.dart
|
| index 8c83b3bcf6ba93da7d834679e1421db32c04174a..3c03c09e299b70f0200740d27350348d77c4ee08 100644
|
| --- a/tests/compiler/dart2js/js_spec_optimization_test.dart
|
| +++ b/tests/compiler/dart2js/js_spec_optimization_test.dart
|
| @@ -67,7 +67,7 @@ main() {
|
| Future check(String test) {
|
| Uri uri = new Uri(scheme: 'dart', path: 'test');
|
| var compiler = compilerFor(test, uri, expectedErrors: 0);
|
| - return compiler.runCompiler(uri).then((_) {
|
| + return compiler.run(uri).then((_) {
|
| var element = findElement(compiler, 'main');
|
| var backend = compiler.backend;
|
| String generated = backend.getGeneratedCode(element);
|
|
|