| Index: tests/compiler/dart2js/jsinterop/world_test.dart
|
| diff --git a/tests/compiler/dart2js/jsinterop/world_test.dart b/tests/compiler/dart2js/jsinterop/world_test.dart
|
| index 0af271e42f0a0e8ed85fc9cf9a7881da7484d646..10f945f88c1808b4e55a5f13f19137149ec9053f 100644
|
| --- a/tests/compiler/dart2js/jsinterop/world_test.dart
|
| +++ b/tests/compiler/dart2js/jsinterop/world_test.dart
|
| @@ -15,11 +15,12 @@ import '../type_test_helper.dart';
|
|
|
| void main() {
|
| asyncTest(() async {
|
| - await testClasses();
|
| + await testClasses(CompileMode.memory);
|
| + await testClasses(CompileMode.dill);
|
| });
|
| }
|
|
|
| -testClasses() async {
|
| +testClasses(CompileMode compileMode) async {
|
| test(String mainSource,
|
| {List<String> directlyInstantiated: const <String>[],
|
| List<String> abstractlyInstantiated: const <String>[],
|
| @@ -77,7 +78,7 @@ newF() => new F(5);
|
| import 'package:js/js.dart';
|
|
|
| $mainSource
|
| -""", compileMode: CompileMode.memory);
|
| +""", compileMode: compileMode);
|
| Map<String, ClassEntity> classEnvironment = <String, ClassEntity>{};
|
|
|
| ClassEntity registerClass(ClassEntity cls) {
|
|
|