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

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

Issue 1099633004: Fix error handling for formatting and update the spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 a8b3bd00af7c18d9bae50931b0bf3954144cb77b..42d9ee981c4c290e9a8ac96b2f00de2e7e2355c4 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1824,6 +1824,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
* enum {
* CONTENT_MODIFIED
* FORMAT_INVALID_FILE
+ * FORMAT_WITH_ERRORS
* GET_ERRORS_INVALID_FILE
* INVALID_ANALYSIS_ROOT
* INVALID_EXECUTION_CONTEXT
@@ -1845,6 +1846,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
"CONTENT_MODIFIED",
"FORMAT_INVALID_FILE",
+ "FORMAT_WITH_ERRORS",
"GET_ERRORS_INVALID_FILE",
"INVALID_ANALYSIS_ROOT",
"INVALID_EXECUTION_CONTEXT",

Powered by Google App Engine
This is Rietveld 408576698