| Index: pkg/analysis_server/test/operation/operation_queue_test.dart
|
| diff --git a/pkg/analysis_server/test/operation/operation_queue_test.dart b/pkg/analysis_server/test/operation/operation_queue_test.dart
|
| index 2b05e148ce0ca86bfd1b1960d13378ecfcbbd855..32dcd783a71b8fc4114cdd83a4c94ed6bc690e8e 100644
|
| --- a/pkg/analysis_server/test/operation/operation_queue_test.dart
|
| +++ b/pkg/analysis_server/test/operation/operation_queue_test.dart
|
| @@ -54,8 +54,7 @@ main() {
|
| });
|
|
|
| test('use operation priorities', () {
|
| - // TODO(scheglov) update 'typed_mock' to make 'any*' fields dynamic
|
| - when(server.isPriorityContext(anyObject as dynamic)).thenReturn(false);
|
| + when(server.isPriorityContext(anyObject)).thenReturn(false);
|
| var analysisContext = new AnalysisContextMock();
|
| var operationA = mockOperation(ServerOperationPriority.SEARCH);
|
| var operationB = mockOperation(ServerOperationPriority.REFACTORING);
|
| @@ -70,8 +69,7 @@ main() {
|
| });
|
|
|
| test('continue analysis first', () {
|
| - // TODO(scheglov) update 'typed_mock' to make 'any*' fields dynamic
|
| - when(server.isPriorityContext(anyObject as dynamic)).thenReturn(false);
|
| + when(server.isPriorityContext(anyObject)).thenReturn(false);
|
| var analysisContext = new AnalysisContextMock();
|
| var operationA = new PerformAnalysisOperation(analysisContext, false);
|
| var operationB = new PerformAnalysisOperation(analysisContext, true);
|
|
|