Index: pkg/analyzer/test/src/task/dart_test.dart |
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart |
index cd5095c798be822d371862237e7dea50e8cccf88..b2205cce07dc1012a423e3a16dd28bda6071232f 100644 |
--- a/pkg/analyzer/test/src/task/dart_test.dart |
+++ b/pkg/analyzer/test/src/task/dart_test.dart |
@@ -3274,6 +3274,16 @@ export 'bar.dart' |
expect(export.selectedSource.shortName, 'bar_io.dart'); |
expect(export.configurations[0].uriSource.shortName, 'bar_io.dart'); |
expect(export.configurations[1].uriSource.shortName, 'bar_html.dart'); |
+ |
+ var refSources = outputs[REFERENCED_SOURCES] as List<Source>; |
+ var refNames = refSources.map((source) => source.shortName).toList(); |
+ expect(refNames, contains('test.dart')); |
+ expect(refNames, contains('foo.dart')); |
+ expect(refNames, contains('foo_io.dart')); |
+ expect(refNames, contains('foo_html.dart')); |
+ expect(refNames, contains('bar.dart')); |
+ expect(refNames, contains('bar_io.dart')); |
+ expect(refNames, contains('bar_html.dart')); |
} |
test_perform_library_configurations_bool2() { |