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

Unified Diff: sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_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/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart b/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart
index 57c3349a15bccac1df15095acc7b9e1edb5392a6..c6c385785623c114bfe76a959886b6181d11d8d9 100644
--- a/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart
@@ -22,8 +22,8 @@ main() {
var pub = startPub(args: ['serve', '--port=0']);
// Ignore the line containing the path to the pubspec.
expect(pub.nextErrLine(), completes);
- expect(pub.nextErrLine(),
- completion(equals('Could not find package for transformer "foo".')));
+ expect(pub.nextErrLine(), completion(equals('"transformers.foo" refers to '
+ 'a package that\'s not listed in "dependencies".')));
pub.shouldExit(1);
});
}

Powered by Google App Engine
This is Rietveld 408576698