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

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

Issue 10896051: Improve the error message for pub install without a name key in the pubspec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/tests/pub/pub_install_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/pub_update_test.dart
diff --git a/utils/tests/pub/pub_update_test.dart b/utils/tests/pub/pub_update_test.dart
index 09aa6495534504f86495fed0c4af4488b8507bd3..179d903f479d6b9da25c47400b6b0bee3fa231f8 100644
--- a/utils/tests/pub/pub_update_test.dart
+++ b/utils/tests/pub/pub_update_test.dart
@@ -26,7 +26,8 @@ main() {
]).scheduleCreate();
schedulePub(args: ['update'],
- error: const RegExp(@'^"pubspec.yaml" must contain a "name" key\.'));
+ error: const RegExp(@'^"pubspec.yaml" is missing the required "name" '
+ @'field \(e\.g\. "name: myapp"\)\.'));
run();
});
« no previous file with comments | « utils/tests/pub/pub_install_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698