| Index: tests/compiler/dart2js/missing_file_test.dart
|
| diff --git a/tests/compiler/dart2js/missing_file_test.dart b/tests/compiler/dart2js/missing_file_test.dart
|
| index 96ccf0335fe7ac59cdaaded23484aa65313a125a..a2b98b270d4a88580ddc4f5c23c93f86a44c32e8 100644
|
| --- a/tests/compiler/dart2js/missing_file_test.dart
|
| +++ b/tests/compiler/dart2js/missing_file_test.dart
|
| @@ -61,15 +61,23 @@ void main() {
|
|
|
| await runTest(Uri.parse('dart:foo'), error: MessageKind.LIBRARY_NOT_FOUND);
|
|
|
| - await runTest(Uri.parse('dart:io'),
|
| - error: MessageKind.LIBRARY_NOT_SUPPORTED,
|
| + await runTest(Uri.parse('dart:_mirror_helper'),
|
| + error: MessageKind.INTERNAL_LIBRARY,
|
| info: MessageKind.DISALLOWED_LIBRARY_IMPORT);
|
|
|
| await runTest(Uri.parse('memory:bar.dart'),
|
| error: MessageKind.LIBRARY_NOT_FOUND);
|
|
|
| - await runTest(Uri.parse('memory:baz.dart'),
|
| - error: MessageKind.LIBRARY_NOT_SUPPORTED,
|
| - info: MessageKind.DISALLOWED_LIBRARY_IMPORT);
|
| + // Importing dart:io is temporarily allowed as a stopgap measure for the
|
| + // lack of config specific imports. Once that is added, this will be
|
| + // disallowed again.
|
| +
|
| + //await runTest(Uri.parse('dart:io'),
|
| + // error: MessageKind.LIBRARY_NOT_SUPPORTED,
|
| + // info: MessageKind.DISALLOWED_LIBRARY_IMPORT);
|
| +
|
| + //await runTest(Uri.parse('memory:baz.dart'),
|
| + // error: MessageKind.LIBRARY_NOT_SUPPORTED,
|
| + // info: MessageKind.DISALLOWED_LIBRARY_IMPORT);
|
| });
|
| }
|
|
|