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

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

Issue 1154303005: Add lineLength parameter to edit.format request (issue 23519) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 42d9ee981c4c290e9a8ac96b2f00de2e7e2355c4..60515ea100f7dd3bdb919ddb5fdfce7fb2afb204 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -643,6 +643,7 @@ final Matcher isSearchResultsParams = new LazyMatcher(() => new MatchesJsonObjec
* "file": FilePath
* "selectionOffset": int
* "selectionLength": int
+ * "lineLength": optional int
* }
*/
final Matcher isEditFormatParams = new LazyMatcher(() => new MatchesJsonObject(
@@ -650,6 +651,8 @@ final Matcher isEditFormatParams = new LazyMatcher(() => new MatchesJsonObject(
"file": isFilePath,
"selectionOffset": isInt,
"selectionLength": isInt
+ }, optionalFields: {
+ "lineLength": isInt
}));
/**

Powered by Google App Engine
This is Rietveld 408576698