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

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

Issue 532403002: Fix error handling in analysis.getError. (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 f27f5483cdd1b5c36b2f900d28bd1054e5a8853b..f9d178ebc81a27081a2a43ed19812c83fa029b50 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1614,7 +1614,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
* RequestErrorCode
*
* enum {
- * GET_ERRORS_ERROR
+ * GET_ERRORS_INVALID_FILE
* INVALID_PARAMETER
* INVALID_REQUEST
* SERVER_ALREADY_STARTED
@@ -1624,7 +1624,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
* }
*/
final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
- "GET_ERRORS_ERROR",
+ "GET_ERRORS_INVALID_FILE",
"INVALID_PARAMETER",
"INVALID_REQUEST",
"SERVER_ALREADY_STARTED",

Powered by Google App Engine
This is Rietveld 408576698