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

Unified Diff: pkg/analysis_server/test/integration/support/protocol_matchers.dart

Issue 3001723002: Update edit.importElements response data to support part files (Closed)
Patch Set: Created 3 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/integration/support/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/support/protocol_matchers.dart b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
index 0768145bafd0e53a2e8f632f765dc511423adfa7..6be1aa11dd6c1fc36a19ab528ea57d0f8aea3bd8 100644
--- a/pkg/analysis_server/test/integration/support/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
@@ -2051,12 +2051,12 @@ final Matcher isEditImportElementsParams = new LazyMatcher(() =>
* edit.importElements result
*
* {
- * "edits": List<SourceEdit>
+ * "edit": SourceFileEdit
* }
*/
final Matcher isEditImportElementsResult = new LazyMatcher(() =>
new MatchesJsonObject(
- "edit.importElements result", {"edits": isListOf(isSourceEdit)}));
+ "edit.importElements result", {"edit": isSourceFileEdit}));
/**
* edit.isPostfixCompletionApplicable params

Powered by Google App Engine
This is Rietveld 408576698