| Index: tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart b/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
|
| index 6fd44b1d4098d0d7ba1f790eb60ed26c494843c7..8c22371cc09316394a81d5bf9f0bd0a9f2df0cbd 100644
|
| --- a/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
|
| @@ -6,6 +6,7 @@
|
| // Files when using deferred loading.
|
|
|
| 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';
|
| @@ -39,11 +40,13 @@ void main() {
|
| var fooMain = compiler.mainApp.find("foo");
|
| var ou_lib1_lib2 = outputUnitForElement(fooMain);
|
|
|
| - String mainOutput = collector.getOutput("", "js");
|
| - String lib1Output = collector.getOutput("out_${ou_lib1.name}", "part.js");
|
| - String lib2Output = collector.getOutput("out_${ou_lib2.name}", "part.js");
|
| + String mainOutput = collector.getOutput("", OutputType.js);
|
| + String lib1Output =
|
| + collector.getOutput("out_${ou_lib1.name}", OutputType.part);
|
| + String lib2Output =
|
| + collector.getOutput("out_${ou_lib2.name}", OutputType.part);
|
| String lib12Output =
|
| - collector.getOutput("out_${ou_lib1_lib2.name}", "part.js");
|
| + collector.getOutput("out_${ou_lib1_lib2.name}", OutputType.part);
|
| // Test that the deferred constants are not inlined into the main file.
|
| RegExp re1 = new RegExp(r"= .string1");
|
| RegExp re2 = new RegExp(r"= .string2");
|
|
|