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)); |
}); |
}); |