| Index: tests/compiler/dart2js/deferred_inline_restrictions_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_inline_restrictions_test.dart b/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
|
| index 6014f36326c7fe8abd26855b48433ef01f99f8e0..9b18f8f3063f41fe9d8611f90a0f2ff7b24821b7 100644
|
| --- a/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
|
| @@ -6,6 +6,7 @@
|
| // allow inlining of empty functions and from main.
|
|
|
| import 'package:async_helper/async_helper.dart';
|
| +import 'package:compiler/compiler_new.dart';
|
| import 'package:compiler/src/compiler.dart';
|
| import 'package:expect/expect.dart';
|
| import 'memory_compiler.dart';
|
| @@ -34,9 +35,11 @@ void main() {
|
| // Test that we actually got differnt output units.
|
| Expect.notEquals(ou_lib1.name, ou_lib3.name);
|
|
|
| - String mainOutput = collector.getOutput("", "js");
|
| - String lib1Output = collector.getOutput("out_${ou_lib1.name}", "part.js");
|
| - String lib3Output = collector.getOutput("out_${ou_lib3.name}", "part.js");
|
| + String mainOutput = collector.getOutput("", OutputType.js);
|
| + String lib1Output =
|
| + collector.getOutput("out_${ou_lib1.name}", OutputType.jsPart);
|
| + String lib3Output =
|
| + collector.getOutput("out_${ou_lib3.name}", OutputType.jsPart);
|
|
|
| RegExp re1 = new RegExp(r"inlined as empty");
|
| RegExp re2 = new RegExp(r"inlined from main");
|
|
|