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

Unified Diff: sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart

Issue 24246002: Lazily throw pubspec parsing exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 7 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: sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart
diff --git a/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart b/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart
index df398debae6fdc533f2338213fa975f2f4d797b6..645646af804429cbe31eb2c5900697730447121a 100644
--- a/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart
+++ b/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart
@@ -32,8 +32,8 @@ main() {
d.libPubspec('zoo', '1.0.0')
]).commit();
- pubUpdate(error: 'The name you specified for your dependency, '
- '"foo", doesn\'t match the name "zoo" in its pubspec.');
+ pubUpdate(error: new RegExp(r'"name" field "zoo" doesn' "'" r't match '
+ r'expected name "foo"\.'));
d.dir(packagesPath, [
d.dir('foo', [

Powered by Google App Engine
This is Rietveld 408576698