Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 1842063003: Start making server strong mode clean (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unintended change Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];

Powered by Google App Engine
This is Rietveld 408576698