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

Unified Diff: utils/tests/pub/command_line_config.dart

Issue 14241005: Use the cached pubspec if possible for describing hosted packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Redo after realizing SystemCache already has this logic. Created 7 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
« no previous file with comments | « utils/pub/system_cache.dart ('k') | utils/tests/pub/install/hosted/cached_pubspec_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/command_line_config.dart
diff --git a/utils/tests/pub/command_line_config.dart b/utils/tests/pub/command_line_config.dart
index 9a60951be7c30c88b9e7aeef2a8799c89f8f7d9a..47c68a9bef5423aba7567b289bec4b6b9346b47d 100644
--- a/utils/tests/pub/command_line_config.dart
+++ b/utils/tests/pub/command_line_config.dart
@@ -154,7 +154,7 @@ class _StackFrame {
if (match == null) {
match = coreRegExp.firstMatch(text);
if (match == null) {
- throw FormatException("Couldn't parse stack trace line '$text'.");
+ throw new FormatException("Couldn't parse stack trace line '$text'.");
}
isCore = true;
}
« no previous file with comments | « utils/pub/system_cache.dart ('k') | utils/tests/pub/install/hosted/cached_pubspec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698