Index: pkg/analysis_server/test/integration/integration_tests.dart |
diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart |
index 5361816f7e4635dec7b8b265327d94a38be710a0..9b58405c684484b221b000c64695f24a44662d34 100644 |
--- a/pkg/analysis_server/test/integration/integration_tests.dart |
+++ b/pkg/analysis_server/test/integration/integration_tests.dart |
@@ -404,7 +404,7 @@ class Server { |
* the [Completer] objects which should be completed when acknowledgement is |
* received. |
*/ |
- final HashMap<String, Completer> _pendingCommands = <String, Completer>{}; |
+ final Map<String, Completer> _pendingCommands = <String, Completer>{}; |
/** |
* Number which should be used to compute the 'id' to send in the next command |
@@ -844,7 +844,8 @@ abstract class _RecursiveMatcher extends Matcher { |
@override |
Description describeMismatch( |
item, Description mismatchDescription, Map matchState, bool verbose) { |
- List<MismatchDescriber> mismatches = matchState['mismatches']; |
+ List<MismatchDescriber> mismatches = |
+ matchState['mismatches'] as List<MismatchDescriber>; |
if (mismatches != null) { |
for (int i = 0; i < mismatches.length; i++) { |
MismatchDescriber mismatch = mismatches[i]; |