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

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

Issue 1506323002: Explicitly specify that FilePath is not just absolute, but also a normalized path. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add an error for invalid file paths. Created 5 years 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 2a0cd06185534ec25acc6dd21071ca3dffc25dd2..37fb38e4884b1d1635929548fab5dd047d322791 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -2104,6 +2104,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
* GET_REACHABLE_SOURCES_INVALID_FILE
* INVALID_ANALYSIS_ROOT
* INVALID_EXECUTION_CONTEXT
+ * INVALID_FILE_PATH_FORMAT
* INVALID_OVERLAY_CHANGE
* INVALID_PARAMETER
* INVALID_REQUEST
@@ -2130,6 +2131,7 @@ final Matcher isRequestErrorCode = new MatchesEnum("RequestErrorCode", [
"GET_REACHABLE_SOURCES_INVALID_FILE",
"INVALID_ANALYSIS_ROOT",
"INVALID_EXECUTION_CONTEXT",
+ "INVALID_FILE_PATH_FORMAT",
"INVALID_OVERLAY_CHANGE",
"INVALID_PARAMETER",
"INVALID_REQUEST",

Powered by Google App Engine
This is Rietveld 408576698