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

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

Issue 529123002: Make findElementReferences' "id" result optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index e69335284b35e86a52619935d7d357743e25356a..8d8bdd3484e06e126dddebeebf7134fd919eda3d 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -416,14 +416,13 @@ final Matcher isSearchFindElementReferencesParams = new LazyMatcher(() => new Ma
* search.findElementReferences result
*
* {
- * "id": SearchId
+ * "id": optional SearchId
* "element": optional Element
* }
*/
final Matcher isSearchFindElementReferencesResult = new LazyMatcher(() => new MatchesJsonObject(
- "search.findElementReferences result", {
- "id": isSearchId
- }, optionalFields: {
+ "search.findElementReferences result", null, optionalFields: {
+ "id": isSearchId,
"element": isElement
}));

Powered by Google App Engine
This is Rietveld 408576698