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

Unified Diff: pkg/analysis_server/test/analysis_abstract.dart

Issue 482573004: Change analysis server protocol to omit empty lists when optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/analysis_abstract.dart
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart
index d8d86808973ad36ad20a80a5882f4d80fd4237df..39771e2ceaee0e9055a7651e52efc2fa1990f9ad 100644
--- a/pkg/analysis_server/test/analysis_abstract.dart
+++ b/pkg/analysis_server/test/analysis_abstract.dart
@@ -94,8 +94,8 @@ class AbstractAnalysisTest {
*/
void createProject() {
resourceProvider.newFolder(projectPath);
- Request request = new AnalysisSetAnalysisRootsParams([projectPath],
- []).toRequest('0');
+ Request request = new AnalysisSetAnalysisRootsParams(
+ included: [projectPath]).toRequest('0');
handleSuccessfulRequest(request);
}

Powered by Google App Engine
This is Rietveld 408576698