| Index: tests/compiler/dart2js/dart_backend_test.dart
|
| diff --git a/tests/compiler/dart2js/dart_backend_test.dart b/tests/compiler/dart2js/dart_backend_test.dart
|
| index 9e3ae4ac86068060b9a99e32dde5951a8576e452..de83f867ccd4bb09dd79cbba681934fa0ce3be23 100644
|
| --- a/tests/compiler/dart2js/dart_backend_test.dart
|
| +++ b/tests/compiler/dart2js/dart_backend_test.dart
|
| @@ -44,6 +44,13 @@ identical(a, b) => true;
|
| const proxy = 0;
|
| ''';
|
|
|
| +const corePatch = r'''
|
| +import 'dart:_js_helper';
|
| +import 'dart:_interceptors';
|
| +import 'dart:_isolate_helper';
|
| +import 'dart:_foreign_helper';
|
| +''';
|
| +
|
| const ioLib = r'''
|
| library io;
|
| class Platform {
|
| @@ -67,6 +74,8 @@ const helperLib = r'''
|
| library js_helper;
|
| class JSInvocationMirror {}
|
| assertHelper(a) {}
|
| +class Closure {}
|
| +class BoundClosure {}
|
| ''';
|
|
|
| const foreignLib = r'''
|
| @@ -107,7 +116,9 @@ testDart2DartWithLibrary(
|
| }
|
| if (uri.path.endsWith('/core.dart')) {
|
| return new Future.value(coreLib);
|
| - } else if (uri.path.endsWith('/io.dart')) {
|
| + } else if (uri.path.endsWith('/core_patch.dart')) {
|
| + return new Future.value(corePatch);
|
| + } else if (uri.path.endsWith('/io.dart')) {
|
| return new Future.value(ioLib);
|
| } else if (uri.path.endsWith('/js_helper.dart')) {
|
| return new Future.value(helperLib);
|
|
|