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

Unified Diff: pkg/analysis_server/test/domain_diagnostic_test.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/domain_diagnostic_test.dart
diff --git a/pkg/analysis_server/test/domain_diagnostic_test.dart b/pkg/analysis_server/test/domain_diagnostic_test.dart
index d6de07f7376fbf9f01fe7899d097030b5eb9e6f7..d2288ae32f2af535c230096a0cff71d0c23b0916 100644
--- a/pkg/analysis_server/test/domain_diagnostic_test.dart
+++ b/pkg/analysis_server/test/domain_diagnostic_test.dart
@@ -73,7 +73,7 @@ main() {
int fileCount = 1 /* test.dart */;
- var json = response.toJson()[Response.RESULT];
+ Map json = response.toJson()[Response.RESULT];
expect(json['contexts'], hasLength(1));
var context = json['contexts'][0];
expect(context['name'], '/project');
@@ -86,7 +86,7 @@ main() {
test('getDiagnostics - (no root)', () async {
var request = new DiagnosticGetDiagnosticsParams().toRequest('0');
var response = handler.handleRequest(request);
- var json = response.toJson()[Response.RESULT];
+ Map json = response.toJson()[Response.RESULT];
expect(json['contexts'], hasLength(0));
});
});

Powered by Google App Engine
This is Rietveld 408576698