Index: pkg/analyzer/test/src/task/dart_work_manager_test.dart |
diff --git a/pkg/analyzer/test/src/task/dart_work_manager_test.dart b/pkg/analyzer/test/src/task/dart_work_manager_test.dart |
index 461bd8cb704a9873e4ad27a973bbe5fe5e3e735d..84f3f6332cc5db2ad431c0aa8d9ec73da58beefa 100644 |
--- a/pkg/analyzer/test/src/task/dart_work_manager_test.dart |
+++ b/pkg/analyzer/test/src/task/dart_work_manager_test.dart |
@@ -655,7 +655,7 @@ class DartWorkManagerTest { |
when(context.prioritySources).thenReturn(<Source>[]); |
when(context.shouldErrorsBeAnalyzed(anyObject)).thenReturn(false); |
// library1 parts |
- manager.resultsComputed(library1, { |
+ manager.resultsComputed(library1, <ResultDescriptor, dynamic>{ |
INCLUDED_PARTS: [part1, part2], |
SOURCE_KIND: SourceKind.LIBRARY |
}); |
@@ -665,7 +665,7 @@ class DartWorkManagerTest { |
expect(manager.libraryPartsMap[library1], [part1, part2]); |
expect(manager.libraryPartsMap[library2], isNull); |
// library2 parts |
- manager.resultsComputed(library2, { |
+ manager.resultsComputed(library2, <ResultDescriptor, dynamic>{ |
INCLUDED_PARTS: [part2, part3], |
SOURCE_KIND: SourceKind.LIBRARY |
}); |
@@ -787,8 +787,10 @@ class DartWorkManagerTest { |
Source part = new TestSource('part.dart'); |
expect(manager.libraryPartsMap, isEmpty); |
// part.dart parsed, no changes is the map of libraries |
- manager.resultsComputed( |
- part, {SOURCE_KIND: SourceKind.PART, INCLUDED_PARTS: <Source>[]}); |
+ manager.resultsComputed(part, <ResultDescriptor, dynamic>{ |
+ SOURCE_KIND: SourceKind.PART, |
+ INCLUDED_PARTS: <Source>[] |
+ }); |
expect(manager.libraryPartsMap, isEmpty); |
} |