| Index: tests/compiler/dart2js/embedded_category_api_boundary_test.dart
|
| diff --git a/tests/compiler/dart2js/embedded_category_api_boundary_test.dart b/tests/compiler/dart2js/embedded_category_api_boundary_test.dart
|
| index 042bc37ac5b2f6eb4630476a499f61ab26704ca0..c6e391d5beb39bd951bb2f67ac39cb206414f71d 100644
|
| --- a/tests/compiler/dart2js/embedded_category_api_boundary_test.dart
|
| +++ b/tests/compiler/dart2js/embedded_category_api_boundary_test.dart
|
| @@ -23,7 +23,8 @@ main() async {
|
| }
|
| });
|
| asyncTest(() async {
|
| - analyze(uriList, {}, checkResults: checkResults, mode: AnalysisMode.MAIN);
|
| + await analyze(uriList, {},
|
| + checkResults: checkResults, mode: AnalysisMode.MAIN);
|
| });
|
| }
|
|
|
| @@ -42,6 +43,10 @@ bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {
|
| LibraryInfo info = libraries[element.library.canonicalUri.path];
|
| bool isAllowedInEmbedded =
|
| info.isInternal || info.categories.contains(Category.embedded);
|
| + if (!isAllowedInEmbedded) {
|
| + print(
|
| + 'Disallowed element: $element from ${element.library.canonicalUri}');
|
| + }
|
| return isAllowedInEmbedded;
|
| });
|
| }
|
|
|